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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7698/0.7698, allocations: 133.6 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 395.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008536/0.0008537, allocations: 106.5 kB / 478.2 MB, free: 1.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.34e-05, allocations: 8 kB / 0.5536 GB, free: 8.969 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4596, allocations: 82.3 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.613, allocations: 112.1 MB / 0.7434 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.6133, allocations: 87.92 kB / 0.7435 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.6299, allocations: 5.492 MB / 0.7489 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6299, allocations: 0 / 0.7489 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.6299, allocations: 4 kB / 0.7489 GB, free: 4.988 MB / 0.5261 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.0005527/0.6305, allocations: 398.2 kB / 0.7492 GB, free: 4.555 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6305, allocations: 11.97 kB / 0.7493 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003734/0.6309, allocations: 67.92 kB / 0.7493 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.6311, allocations: 174.9 kB / 0.7495 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.6311, allocations: 4 kB / 0.7495 GB, free: 4.262 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.6311, allocations: 4 kB / 0.7495 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001135/0.6312, allocations: 35.98 kB / 0.7495 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.6314, allocations: 73.66 kB / 0.7496 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6314, allocations: 0 / 0.7496 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.6314, allocations: 0 / 0.7496 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.6314, allocations: 0 / 0.7496 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.632, allocations: 313.1 kB / 0.7499 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.6322, allocations: 66.56 kB / 0.75 GB, free: 3.727 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.6322, allocations: 20.86 kB / 0.75 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.6322, allocations: 8.141 kB / 0.75 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.6323, allocations: 30.56 kB / 0.75 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.6323, allocations: 0 / 0.75 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.01324/0.6455, allocations: 2.109 MB / 0.7521 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.6456, allocations: 51.41 kB / 0.7521 GB, free: 1.391 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.395e-05/0.6457, allocations: 96.98 kB / 0.7522 GB, free: 1.289 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.6457, allocations: 29.7 kB / 0.7523 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.6458, allocations: 88.05 kB / 0.7523 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.407e-05/0.6459, allocations: 35.55 kB / 0.7524 GB, free: 1.129 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.056e-05/0.6459, allocations: 3.938 kB / 0.7524 GB, free: 1.125 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.646, allocations: 318.8 kB / 0.7527 GB, free: 0.8047 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.6462, allocations: 111.9 kB / 0.7528 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.6465, allocations: 115.9 kB / 0.7529 GB, free: 0.582 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000309/0.6468, allocations: 131.9 kB / 0.753 GB, free: 464 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.6468, allocations: 0 / 0.753 GB, free: 464 kB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000724/0.6475, allocations: 336.5 kB / 0.7533 GB, free: 124 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.6476, allocations: 4 kB / 0.7533 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6476, allocations: 0 / 0.7533 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6476, allocations: 3.984 kB / 0.7533 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008723/0.6485, allocations: 127.8 kB / 0.7535 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.6485, allocations: 0 / 0.7535 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006231/0.6491, allocations: 55.94 kB / 0.7535 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.738e-05/0.6492, allocations: 23.88 kB / 0.7535 GB, free: 15.91 MB / 0.5417 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 () * 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.0001428/0.6494, allocations: 112.9 kB / 0.7537 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000732/0.6501, allocations: 325.3 kB / 0.754 GB, free: 15.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.176e-05/0.6502, allocations: 7.906 kB / 0.754 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/0.6502, allocations: 12.36 kB / 0.754 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.6502, allocations: 0 / 0.754 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6502, allocations: 4.188 kB / 0.754 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6502, allocations: 0 / 0.754 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.6516, allocations: 0.8966 MB / 0.7549 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.6516, allocations: 0 / 0.7549 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008471/0.6525, allocations: 115.8 kB / 0.755 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.6525, allocations: 3.984 kB / 0.755 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.6526, allocations: 19.94 kB / 0.755 GB, free: 14.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.6526, allocations: 4 kB / 0.755 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.6526, allocations: 0 / 0.755 GB, free: 14.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.6536, allocations: 0.5772 MB / 0.7556 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.6538, allocations: 128.8 kB / 0.7557 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.6538, allocations: 0 / 0.7557 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000689/0.6545, allocations: 56 kB / 0.7557 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.542e-05/0.6546, allocations: 31.92 kB / 0.7558 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.6547, allocations: 19.94 kB / 0.7558 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.186e-05/0.6547, allocations: 79.28 kB / 0.7559 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6547, allocations: 0 / 0.7559 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003732/0.6551, allocations: 59.94 kB / 0.7559 GB, free: 13.32 MB / 0.5417 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 () * 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.001377/0.6565, allocations: 1.118 MB / 0.757 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005058/0.657, allocations: 263.7 kB / 0.7573 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.657, allocations: 4.062 kB / 0.7573 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002583/0.6573, allocations: 151.8 kB / 0.7574 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.6575, allocations: 5.828 kB / 0.7574 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003823/0.6614, allocations: 0.7276 MB / 0.7581 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.6617, allocations: 0.6963 MB / 0.7588 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006852/0.6624, allocations: 89.22 kB / 0.7589 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.6626, allocations: 67.3 kB / 0.759 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of SimCode: time 3.8e-07/0.6627, allocations: 0 / 0.759 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0223/0.685, allocations: 3.766 MB / 0.7626 GB, free: 6.363 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/0.6852, allocations: 150 kB / 0.7628 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.569/2.254, allocations: 0 / 0.7628 GB, free: 6.176 MB / 0.5417 GB (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)