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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7284/0.7284, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 109 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.916e-05, allocations: 4.875 kB / 0.5601 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1848, allocations: 82.31 MB / 0.6405 GB, free: 7.723 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6228/0.8076, allocations: 112.8 MB / 0.7506 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.8079, allocations: 89.66 kB / 0.7507 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02048/0.8284, allocations: 5.517 MB / 0.7561 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.974e-06/0.8285, allocations: 0 / 0.7561 GB, free: 27.34 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.8285, allocations: 0 / 0.7561 GB, free: 27.34 MB / 0.5105 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.0007048/0.8292, allocations: 411.1 kB / 0.7565 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.552e-05/0.8293, allocations: 7.812 kB / 0.7565 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.305e-05/0.8294, allocations: 37.91 kB / 0.7565 GB, free: 26.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004805/0.8298, allocations: 70.64 kB / 0.7566 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.83, allocations: 170.7 kB / 0.7568 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.8301, allocations: 7.406 kB / 0.7568 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.8301, allocations: 7.281 kB / 0.7568 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.8303, allocations: 71.38 kB / 0.7569 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.8304, allocations: 7.984 kB / 0.7569 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.8304, allocations: 9.016 kB / 0.7569 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.8304, allocations: 0 / 0.7569 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.8306, allocations: 40.59 kB / 0.7569 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.8313, allocations: 342.8 kB / 0.7572 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.8315, allocations: 71.69 kB / 0.7573 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.8316, allocations: 23.36 kB / 0.7573 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.8316, allocations: 0 / 0.7573 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/0.8317, allocations: 37.88 kB / 0.7574 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.8317, allocations: 0 / 0.7574 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01765/0.8494, allocations: 2.109 MB / 0.7594 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.8495, allocations: 54.78 kB / 0.7595 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.8496, allocations: 88.84 kB / 0.7596 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.8497, allocations: 33.08 kB / 0.7596 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.8497, allocations: 88.03 kB / 0.7597 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.902e-05/0.8498, allocations: 42.14 kB / 0.7597 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.8499, allocations: 4 kB / 0.7597 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.8501, allocations: 318 kB / 0.76 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003475/0.8504, allocations: 111.7 kB / 0.7601 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.8508, allocations: 115.7 kB / 0.7602 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.8512, allocations: 125 kB / 0.7604 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.8512, allocations: 0 / 0.7604 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00107/0.8523, allocations: 323.4 kB / 0.7607 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.8523, allocations: 11.8 kB / 0.7607 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.8523, allocations: 0 / 0.7607 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.8523, allocations: 4 kB / 0.7607 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.8534, allocations: 117.3 kB / 0.7608 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.8535, allocations: 3.938 kB / 0.7608 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007953/0.8543, allocations: 57.28 kB / 0.7609 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.663e-05/0.8544, allocations: 30.2 kB / 0.7609 GB, free: 24.21 MB / 0.5105 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.0001874/0.8546, allocations: 108.7 kB / 0.761 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.8547, allocations: 3.688 kB / 0.761 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.8547, allocations: 11.55 kB / 0.761 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.8547, allocations: 0 / 0.761 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.8548, allocations: 3.656 kB / 0.761 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.8548, allocations: 4 kB / 0.761 GB, free: 24.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.8566, allocations: 0.9041 MB / 0.7619 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.8566, allocations: 3.938 kB / 0.7619 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.8577, allocations: 116.2 kB / 0.762 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.8577, allocations: 3.844 kB / 0.762 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/0.8578, allocations: 23.73 kB / 0.762 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.8578, allocations: 0 / 0.762 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8578, allocations: 0 / 0.762 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.8594, allocations: 0.56 MB / 0.7626 GB, free: 23.05 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.8596, allocations: 127.2 kB / 0.7627 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.8597, allocations: 3.812 kB / 0.7627 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008901/0.8606, allocations: 62.09 kB / 0.7628 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.8607, allocations: 35.5 kB / 0.7628 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-05/0.8608, allocations: 23.62 kB / 0.7628 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.995e-05/0.8609, allocations: 82.38 kB / 0.7629 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8609, allocations: 0 / 0.7629 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005808/0.8615, allocations: 60.55 kB / 0.763 GB, free: 22.77 MB / 0.5105 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.001942/0.8634, allocations: 1.121 MB / 0.7641 GB, free: 22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008406/0.8643, allocations: 267.9 kB / 0.7643 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8643, allocations: 0 / 0.7643 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.8647, allocations: 149.3 kB / 0.7645 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.865, allocations: 7.969 kB / 0.7645 GB, free: 21.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005092/0.8701, allocations: 0.7438 MB / 0.7652 GB, free: 21.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.8705, allocations: 0.6998 MB / 0.7659 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001086/0.8716, allocations: 88.66 kB / 0.766 GB, free: 20.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003872/0.872, allocations: 68.95 kB / 0.766 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/0.872, allocations: 0 / 0.766 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.891, allocations: 4.129 MB / 0.7701 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001957/0.8913, allocations: 162.8 kB / 0.7702 GB, free: 18.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.538, allocations: 0 / 0.7702 GB, free: 18.34 MB / 0.5105 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/linux/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)