Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.005116/0.005116, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001319/0.001319, allocations: 202 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.078/1.078, allocations: 135.6 MB / 426.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 67.89 kB / 0.5858 GB, free: 3.164 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4375/0.4394, allocations: 81.02 MB / 0.6649 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001965/0.4414, allocations: 0.7848 MB / 0.6657 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.443, allocations: 1.476 MB / 0.6671 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.4431, allocations: 0 / 0.6671 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.285e-05/0.4431, allocations: 5.25 kB / 0.6671 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.4432, allocations: 3.938 kB / 0.6671 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004882/0.4437, allocations: 140.6 kB / 0.6673 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.891e-05/0.4438, allocations: 56.05 kB / 0.6673 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.4438, allocations: 3.719 kB / 0.6673 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.962e-05/0.4439, allocations: 22.89 kB / 0.6674 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.845e-05/0.444, allocations: 33.55 kB / 0.6674 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.444, allocations: 7.922 kB / 0.6674 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.4444, allocations: 319.3 kB / 0.6677 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.867e-05/0.4444, allocations: 18.22 kB / 0.6677 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.257e-05/0.4444, allocations: 25.95 kB / 0.6677 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.4447, allocations: 212.6 kB / 0.6679 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4447, allocations: 4 kB / 0.6679 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4447, allocations: 0 / 0.6679 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.4448, allocations: 1.312 kB / 0.6679 GB, free: 4.633 MB / 0.4981 GB 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.0005535/0.4453, allocations: 401.4 kB / 0.6683 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.4454, allocations: 12.94 kB / 0.6683 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.4454, allocations: 37.75 kB / 0.6684 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.4458, allocations: 73.11 kB / 0.6684 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.672e-05/0.4459, allocations: 166.8 kB / 0.6686 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.446, allocations: 7.094 kB / 0.6686 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.446, allocations: 9.172 kB / 0.6686 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.4464, allocations: 118.3 kB / 0.6687 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4464, allocations: 0 / 0.6687 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.4464, allocations: 1.188 kB / 0.6687 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.4464, allocations: 5.062 kB / 0.6687 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.4469, allocations: 103.3 kB / 0.6688 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005354/0.4474, allocations: 336.9 kB / 0.6692 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006336/0.4481, allocations: 160.2 kB / 0.6693 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002296/0.4483, allocations: 50.19 kB / 0.6694 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.4484, allocations: 1.094 kB / 0.6694 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.4484, allocations: 41.12 kB / 0.6694 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.4484, allocations: 0 / 0.6694 GB, free: 3.316 MB / 0.4981 GB 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.01746/0.4659, allocations: 2.831 MB / 0.6722 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.4659, allocations: 60.62 kB / 0.6722 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.664e-05/0.466, allocations: 103.2 kB / 0.6723 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.4661, allocations: 30.92 kB / 0.6724 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.085e-05/0.4661, allocations: 93.41 kB / 0.6724 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/0.4662, allocations: 44.84 kB / 0.6725 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.4663, allocations: 68.58 kB / 0.6726 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.211e-05/0.4664, allocations: 321 kB / 0.6729 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006524/0.4671, allocations: 188.8 kB / 0.673 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/0.4677, allocations: 197.4 kB / 0.6732 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.469, allocations: 387.8 kB / 0.6736 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.469, allocations: 0 / 0.6736 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001462/0.4704, allocations: 476.8 kB / 0.674 GB, free: 284 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4705, allocations: 11 kB / 0.6741 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.4705, allocations: 5.188 kB / 0.6741 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4705, allocations: 0 / 0.6741 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007921/0.4713, allocations: 113.4 kB / 0.6742 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4713, allocations: 1.656 kB / 0.6742 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005976/0.4719, allocations: 45.69 kB / 0.6742 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.472, allocations: 29.53 kB / 0.6742 GB, free: 168 kB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.4721, allocations: 113.2 kB / 0.6744 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.244e-05/0.4722, allocations: 7.547 kB / 0.6744 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.812e-05/0.4722, allocations: 16.92 kB / 0.6744 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4722, allocations: 5 kB / 0.6744 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4723, allocations: 1.25 kB / 0.6744 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4723, allocations: 0 / 0.6744 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.4746, allocations: 1.048 MB / 0.6754 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4746, allocations: 1.031 kB / 0.6754 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/0.4755, allocations: 112.3 kB / 0.6755 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4755, allocations: 1.406 kB / 0.6755 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.4755, allocations: 25.16 kB / 0.6755 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4756, allocations: 7.875 kB / 0.6755 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4756, allocations: 1.406 kB / 0.6755 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.478, allocations: 0.7861 MB / 0.6763 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.4781, allocations: 122.8 kB / 0.6764 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.364e-05/0.4782, allocations: 1.062 kB / 0.6764 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006776/0.4789, allocations: 51.22 kB / 0.6765 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.479, allocations: 26.55 kB / 0.6765 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.4791, allocations: 22.38 kB / 0.6765 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.369e-05/0.4791, allocations: 86.42 kB / 0.6766 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4792, allocations: 0 / 0.6766 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003805/0.4795, allocations: 47.25 kB / 0.6767 GB, free: 14.28 MB / 0.5137 GB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002847/0.4824, allocations: 1.351 MB / 0.678 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001514/0.4839, allocations: 430.4 kB / 0.6784 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.545e-06/0.4839, allocations: 0 / 0.6784 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007457/0.4847, allocations: 225.6 kB / 0.6786 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.4851, allocations: 16.42 kB / 0.6786 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00883/0.4939, allocations: 2.932 MB / 0.6815 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.4943, allocations: 0.6923 MB / 0.6822 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005221/0.4948, allocations: 91.25 kB / 0.6822 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.4951, allocations: 62.58 kB / 0.6823 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of SimCode: time 4.619e-06/0.4951, allocations: 0.875 kB / 0.6823 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.5231, allocations: 4.57 MB / 0.6868 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.412, allocations: 7.938 kB / 0.6868 GB, free: 7.512 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)