Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007797/0.0007798, allocations: 91.44 kB / 15.06 MB, free: 1.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008737/0.0008737, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7322/0.7322, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003228, allocations: 12 kB / 0.5035 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.392, allocations: 81.57 MB / 0.5832 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0008193/0.3928, allocations: 497.1 kB / 0.5836 GB, free: 3.668 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3943, allocations: 1.415 MB / 0.585 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.615e-05/0.3943, allocations: 3.938 kB / 0.585 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.368e-05/0.3944, allocations: 2.453 kB / 0.585 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.055e-05/0.3944, allocations: 0.5938 kB / 0.585 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.3948, allocations: 116 kB / 0.5851 GB, free: 2.578 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.432e-05/0.3949, allocations: 46.98 kB / 0.5852 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.3949, allocations: 3.266 kB / 0.5852 GB, free: 2.559 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.395, allocations: 22.81 kB / 0.5852 GB, free: 2.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.932e-05/0.3951, allocations: 35.12 kB / 0.5852 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3951, allocations: 4 kB / 0.5852 GB, free: 2.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004607/0.3956, allocations: 308.1 kB / 0.5855 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.3956, allocations: 14.88 kB / 0.5856 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.3956, allocations: 33.58 kB / 0.5856 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.3959, allocations: 147.2 kB / 0.5857 GB, free: 2.383 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3959, allocations: 4 kB / 0.5857 GB, free: 2.379 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3959, allocations: 0.9688 kB / 0.5857 GB, free: 2.379 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.3959, allocations: 0 / 0.5857 GB, free: 2.379 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004648/0.3964, allocations: 397.9 kB / 0.5861 GB, free: 1.988 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3964, allocations: 8.406 kB / 0.5861 GB, free: 1.988 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.051e-05/0.3964, allocations: 38.77 kB / 0.5862 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.3969, allocations: 87.34 kB / 0.5862 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.836e-05/0.3969, allocations: 166.1 kB / 0.5864 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.397, allocations: 3.844 kB / 0.5864 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.397, allocations: 9.375 kB / 0.5864 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.3973, allocations: 116.2 kB / 0.5865 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3974, allocations: 0.6562 kB / 0.5865 GB, free: 1.684 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3974, allocations: 5.312 kB / 0.5865 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3974, allocations: 5.312 kB / 0.5865 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.3978, allocations: 122.3 kB / 0.5866 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.3984, allocations: 347.2 kB / 0.587 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/0.399, allocations: 183.3 kB / 0.5872 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002164/0.3992, allocations: 70.73 kB / 0.5872 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3992, allocations: 7.938 kB / 0.5872 GB, free: 1.273 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3992, allocations: 31.94 kB / 0.5873 GB, free: 1.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3992, allocations: 4 kB / 0.5873 GB, free: 1.23 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01626/0.4155, allocations: 3.171 MB / 0.5904 GB, free: 376 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.4156, allocations: 58.44 kB / 0.5904 GB, free: 308 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.4156, allocations: 100.4 kB / 0.5905 GB, free: 204 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.041e-05/0.4157, allocations: 27.86 kB / 0.5905 GB, free: 172 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.4157, allocations: 93.91 kB / 0.5906 GB, free: 76 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.215e-05/0.4158, allocations: 47.48 kB / 0.5907 GB, free: 36 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.4158, allocations: 1.375 kB / 0.5907 GB, free: 36 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.416, allocations: 318.3 kB / 0.591 GB, free: 15.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006651/0.4166, allocations: 217.8 kB / 0.5912 GB, free: 15.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006289/0.4173, allocations: 219.9 kB / 0.5914 GB, free: 15.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006472/0.4179, allocations: 218.7 kB / 0.5916 GB, free: 15.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.4179, allocations: 0 / 0.5916 GB, free: 15.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001526/0.4195, allocations: 0.5171 MB / 0.5921 GB, free: 15.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.4195, allocations: 5.438 kB / 0.5921 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4195, allocations: 0.625 kB / 0.5921 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.4195, allocations: 0.5938 kB / 0.5921 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007556/0.4203, allocations: 123.6 kB / 0.5922 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4203, allocations: 5.188 kB / 0.5922 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.4208, allocations: 56.84 kB / 0.5923 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.66e-05/0.4209, allocations: 28 kB / 0.5923 GB, free: 15.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.4211, allocations: 119.4 kB / 0.5924 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.4211, allocations: 11.2 kB / 0.5924 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.659e-05/0.4212, allocations: 10.42 kB / 0.5925 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4212, allocations: 2.078 kB / 0.5925 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4212, allocations: 0 / 0.5925 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.4212, allocations: 2.219 kB / 0.5925 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.4233, allocations: 1.104 MB / 0.5935 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4234, allocations: 4 kB / 0.5935 GB, free: 14.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007084/0.4241, allocations: 125.7 kB / 0.5937 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.4241, allocations: 0 / 0.5937 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.4241, allocations: 21.59 kB / 0.5937 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4242, allocations: 0 / 0.5937 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4242, allocations: 0 / 0.5937 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.4263, allocations: 0.8805 MB / 0.5945 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.4264, allocations: 115.6 kB / 0.5947 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.4265, allocations: 1.188 kB / 0.5947 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.4271, allocations: 58.44 kB / 0.5947 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.4272, allocations: 29.7 kB / 0.5947 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.492e-05/0.4272, allocations: 26.52 kB / 0.5948 GB, free: 13.67 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.036e-05/0.4273, allocations: 79.69 kB / 0.5948 GB, free: 13.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4273, allocations: 4 kB / 0.5948 GB, free: 13.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003959/0.4277, allocations: 50.59 kB / 0.5949 GB, free: 13.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00247/0.4302, allocations: 1.414 MB / 0.5963 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.4315, allocations: 475 kB / 0.5967 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4315, allocations: 3.938 kB / 0.5967 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006856/0.4322, allocations: 247.3 kB / 0.597 GB, free: 12.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.4326, allocations: 8.844 kB / 0.597 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006196/0.4388, allocations: 1.876 MB / 0.5988 GB, free: 11.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.439, allocations: 0.6958 MB / 0.5995 GB, free: 10.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000698/0.4397, allocations: 100.4 kB / 0.5996 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.44, allocations: 63.95 kB / 0.5996 GB, free: 10.25 MB / 446.1 MB Notification: Performance of SimCode: time 5.11e-07/0.44, allocations: 0 / 0.5996 GB, free: 10.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.4534, allocations: 4.141 MB / 0.6037 GB, free: 8.188 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002079/0.4537, allocations: 191.2 kB / 0.6039 GB, free: 7.953 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.702/2.156, allocations: 0 / 0.6039 GB, free: 7.953 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: