Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",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.000973/0.0009731, allocations: 97.95 kB / 16.95 MB, free: 6.453 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.001066/0.001066, allocations: 185.7 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005165, allocations: 8 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1006, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001568/0.1022, allocations: 1.078 MB / 329.5 MB, free: 2.906 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02802/0.1302, allocations: 22.18 MB / 351.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.1304, allocations: 0 / 351.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001311/0.1305, allocations: 7.922 kB / 351.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01438/0.1449, allocations: 4.206 MB / 355.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006616/0.1456, allocations: 211.1 kB / 356.1 MB, free: 8.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.1458, allocations: 87.67 kB / 356.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.1458, allocations: 4 kB / 356.2 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.042e-05/0.1459, allocations: 31.91 kB / 356.2 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.842e-05/0.146, allocations: 39.83 kB / 356.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.474e-05/0.146, allocations: 0 / 356.3 MB, free: 8.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01681/0.1629, allocations: 7.654 MB / 363.9 MB, free: 416 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.163, allocations: 19.91 kB / 364 MB, free: 396 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.695e-05/0.1631, allocations: 33.7 kB / 364 MB, free: 356 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006264/0.1693, allocations: 2.776 MB / 366.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1694, allocations: 0 / 366.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.786e-06/0.1694, allocations: 0 / 366.8 MB, free: 13.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1694, allocations: 4 kB / 366.8 MB, free: 13.56 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.002533/0.172, allocations: 0.8888 MB / 367.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.172, allocations: 12.03 kB / 367.7 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.1721, allocations: 30.56 kB / 367.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.1721, allocations: 7.906 kB / 367.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.1723, allocations: 202.9 kB / 367.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.1724, allocations: 0 / 367.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1724, allocations: 3.938 kB / 367.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1726, allocations: 75.39 kB / 368 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1726, allocations: 0 / 368 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1726, allocations: 0 / 368 MB, free: 12.24 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.1726, allocations: 4 kB / 368 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1727, allocations: 35.91 kB / 368 MB, free: 12.2 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.173, allocations: 186.6 kB / 368.2 MB, free: 11.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.1733, allocations: 97.11 kB / 368.3 MB, free: 11.85 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.1734, allocations: 33.77 kB / 368.3 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.375e-05/0.1735, allocations: 11.98 kB / 368.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1735, allocations: 34.56 kB / 368.4 MB, free: 11.76 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.173e-06/0.1735, allocations: 4 kB / 368.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003098/0.1738, allocations: 101.8 kB / 368.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.1739, allocations: 77.11 kB / 368.6 MB, free: 11.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.174, allocations: 134 kB / 368.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1741, allocations: 29.7 kB / 368.7 MB, free: 11.38 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.1741, allocations: 84.14 kB / 368.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.1742, allocations: 23.7 kB / 368.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1742, allocations: 0 / 368.8 MB, free: 11.27 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1743, allocations: 322.8 kB / 369.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.781e-05/0.1744, allocations: 15.98 kB / 369.1 MB, free: 10.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.898e-05/0.1744, allocations: 29.7 kB / 369.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.787e-05/0.1745, allocations: 27.95 kB / 369.2 MB, free: 10.87 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1745, allocations: 4 kB / 369.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001658/0.1747, allocations: 69.67 kB / 369.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1747, allocations: 7.938 kB / 369.3 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1747, allocations: 8 kB / 369.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1747, allocations: 0 / 369.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.028e-05/0.1748, allocations: 24.05 kB / 369.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.1748, allocations: 0 / 369.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.1749, allocations: 11.84 kB / 369.3 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1749, allocations: 0 / 369.3 MB, free: 10.74 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 8.094e-05/0.175, allocations: 114.2 kB / 369.4 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.175, allocations: 8 kB / 369.4 MB, free: 10.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.1753, allocations: 101.4 kB / 369.5 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.1753, allocations: 4 kB / 369.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1753, allocations: 3.938 kB / 369.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1753, allocations: 0 / 369.6 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001368/0.1755, allocations: 185.6 kB / 369.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1755, allocations: 0 / 369.7 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.553e-05/0.1755, allocations: 8 kB / 369.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.1755, allocations: 0 / 369.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.1756, allocations: 4 kB / 369.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1756, allocations: 0 / 369.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1756, allocations: 4 kB / 369.8 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.1758, allocations: 113.9 kB / 369.9 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.298e-05/0.1758, allocations: 96.98 kB / 370 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.1759, allocations: 4 kB / 370 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.1759, allocations: 3.984 kB / 370 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.176, allocations: 12 kB / 370 MB, free: 9.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.176, allocations: 4 kB / 370 MB, free: 9.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.077e-05/0.1761, allocations: 111.2 kB / 370.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1761, allocations: 0 / 370.1 MB, free: 9.871 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002883/0.179, allocations: 0.9135 MB / 371 MB, free: 8.957 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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.005363/0.1844, allocations: 1.793 MB / 372.8 MB, free: 7.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1846, allocations: 43.92 kB / 372.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.1846, allocations: 0 / 372.8 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.626e-05/0.1847, allocations: 23.98 kB / 372.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003809/0.1851, allocations: 27.92 kB / 372.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00263/0.1877, allocations: 0.9434 MB / 373.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.188, allocations: 0.6887 MB / 374.5 MB, free: 5.328 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.757e-05/0.1881, allocations: 7.781 kB / 374.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.384e-05/0.1882, allocations: 19.44 kB / 374.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of SimCode: time 2.033e-06/0.1882, allocations: 0 / 374.5 MB, free: 5.301 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2436/0.4318, allocations: 30.76 MB / 405.3 MB, free: 35.7 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.432, allocations: 222.3 kB / 405.5 MB, free: 35.46 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.13/3.562, allocations: 0 / 405.5 MB, free: 35.46 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat