Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_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.0009842/0.0009842, allocations: 178.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4604/0.4604, allocations: 90.81 MB / 104.5 MB, free: 9.785 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.26/1.26, allocations: 221.3 MB / 348.3 MB, free: 428 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008044/0.0008044, allocations: 101.7 kB / 421.2 MB, free: 5.457 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.125e-05, allocations: 4 kB / 0.4897 GB, free: 5.234 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3253, allocations: 72.3 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.4536, allocations: 103 MB / 0.6609 GB, free: 1.305 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4539, allocations: 85.62 kB / 0.661 GB, free: 1.223 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01809/0.472, allocations: 5.518 MB / 0.6664 GB, free: 11.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4721, allocations: 4 kB / 0.6664 GB, free: 11.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.4721, allocations: 0.8438 kB / 0.6664 GB, free: 11.7 MB / 490.7 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.0005394/0.4726, allocations: 398.2 kB / 0.6667 GB, free: 11.27 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.706e-05/0.4727, allocations: 15.98 kB / 0.6668 GB, free: 11.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.4728, allocations: 34.56 kB / 0.6668 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004025/0.4732, allocations: 75.78 kB / 0.6669 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.4733, allocations: 163 kB / 0.667 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.4734, allocations: 12 kB / 0.667 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.4734, allocations: 4 kB / 0.667 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.4736, allocations: 81.66 kB / 0.6671 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.4736, allocations: 1.312 kB / 0.6671 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4736, allocations: 0 / 0.6671 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.4736, allocations: 4 kB / 0.6671 GB, free: 10.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.4737, allocations: 43.94 kB / 0.6672 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006301/0.4744, allocations: 344.5 kB / 0.6675 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.4746, allocations: 70.52 kB / 0.6676 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.988e-05/0.4746, allocations: 24.86 kB / 0.6676 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.4747, allocations: 3.938 kB / 0.6676 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4747, allocations: 38.56 kB / 0.6676 GB, free: 10.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.4747, allocations: 0 / 0.6676 GB, free: 10.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=11): time 0.01332/0.488, allocations: 2.106 MB / 0.6697 GB, free: 8.051 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.4881, allocations: 55.41 kB / 0.6697 GB, free: 7.984 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.168e-05/0.4882, allocations: 96.98 kB / 0.6698 GB, free: 7.883 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.428e-05/0.4882, allocations: 29.7 kB / 0.6699 GB, free: 7.848 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.4883, allocations: 88.03 kB / 0.6699 GB, free: 7.758 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.4884, allocations: 47.44 kB / 0.67 GB, free: 7.711 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.4884, allocations: 0 / 0.67 GB, free: 7.711 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4885, allocations: 318.8 kB / 0.6703 GB, free: 7.391 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002545/0.4888, allocations: 111.9 kB / 0.6704 GB, free: 7.281 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.489, allocations: 115.9 kB / 0.6705 GB, free: 7.168 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.4893, allocations: 117.1 kB / 0.6706 GB, free: 7.055 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4893, allocations: 4 kB / 0.6706 GB, free: 7.051 MB / 490.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000768/0.4901, allocations: 334.2 kB / 0.6709 GB, free: 6.719 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.4901, allocations: 5.094 kB / 0.6709 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4901, allocations: 0 / 0.6709 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.4902, allocations: 0 / 0.6709 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008212/0.491, allocations: 115.8 kB / 0.6711 GB, free: 6.602 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.491, allocations: 4 kB / 0.6711 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006241/0.4916, allocations: 59.94 kB / 0.6711 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.4917, allocations: 23.94 kB / 0.6711 GB, free: 6.516 MB / 490.7 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 () * 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.0001547/0.4919, allocations: 116.9 kB / 0.6712 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.492, allocations: 8 kB / 0.6713 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.492, allocations: 8.094 kB / 0.6713 GB, free: 6.379 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.492, allocations: 3.938 kB / 0.6713 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.492, allocations: 0 / 0.6713 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.492, allocations: 0 / 0.6713 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.4935, allocations: 0.9046 MB / 0.6721 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.4936, allocations: 0 / 0.6721 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008246/0.4944, allocations: 119.8 kB / 0.6723 GB, free: 5.242 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.4944, allocations: 3.938 kB / 0.6723 GB, free: 5.238 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.882e-05/0.4945, allocations: 27.92 kB / 0.6723 GB, free: 5.211 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4945, allocations: 4 kB / 0.6723 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4945, allocations: 0 / 0.6723 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4956, allocations: 0.5628 MB / 0.6728 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001604/0.4958, allocations: 120.9 kB / 0.673 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.4959, allocations: 0 / 0.673 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006881/0.4966, allocations: 64 kB / 0.673 GB, free: 4.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.227e-05/0.4967, allocations: 23.92 kB / 0.673 GB, free: 4.406 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/0.4967, allocations: 23.94 kB / 0.6731 GB, free: 4.383 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.4968, allocations: 87.28 kB / 0.6732 GB, free: 4.297 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4968, allocations: 0 / 0.6732 GB, free: 4.297 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003842/0.4972, allocations: 60.95 kB / 0.6732 GB, free: 4.238 MB / 490.7 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 () * 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.00147/0.4987, allocations: 1.12 MB / 0.6743 GB, free: 3.094 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006303/0.4993, allocations: 275 kB / 0.6746 GB, free: 2.828 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4993, allocations: 4.062 kB / 0.6746 GB, free: 2.824 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003299/0.4997, allocations: 147.9 kB / 0.6747 GB, free: 2.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.4999, allocations: 4 kB / 0.6747 GB, free: 2.676 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/0.5038, allocations: 0.7442 MB / 0.6754 GB, free: 1.887 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.5041, allocations: 0.6926 MB / 0.6761 GB, free: 1.168 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000667/0.5048, allocations: 94.91 kB / 0.6762 GB, free: 1.078 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.5051, allocations: 63.3 kB / 0.6763 GB, free: 1.016 MB / 490.7 MB Notification: Performance of SimCode: time 5.91e-07/0.5051, allocations: 0 / 0.6763 GB, free: 1.016 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.5212, allocations: 4.138 MB / 0.6803 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.5215, allocations: 175.6 kB / 0.6805 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.123, allocations: 1.875 kB / 0.6805 GB, free: 12.82 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check_fmu --startTime=-1.5 --stopTime=1.5 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_InverseXDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)