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.00102/0.00102, allocations: 100.7 kB / 16.94 MB, free: 6.441 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.001087/0.001088, allocations: 189.2 kB / 17.83 MB, free: 6.008 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.385/1.385, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004426/0.0004426, allocations: 8.219 kB / 280.8 MB, free: 3.664 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09964/0.1001, allocations: 47.58 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX): time 0.001392/0.1016, allocations: 1.048 MB / 329.5 MB, free: 2.953 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.02659/0.1282, allocations: 20.54 MB / 350 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1284, allocations: 0 / 350 MB, free: 14.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1286, allocations: 11.92 kB / 350 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.1407, allocations: 4.189 MB / 354.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.1414, allocations: 211.4 kB / 354.4 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.478e-05/0.1415, allocations: 51.91 kB / 354.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.1416, allocations: 4 kB / 354.5 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/0.1417, allocations: 27.91 kB / 354.5 MB, free: 9.859 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.1417, allocations: 39.83 kB / 354.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1418, allocations: 4 kB / 354.5 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0161/0.1579, allocations: 7.783 MB / 362.3 MB, free: 2.023 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.158, allocations: 11.98 kB / 362.3 MB, free: 2.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.158, allocations: 37.64 kB / 362.4 MB, free: 1.969 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008124/0.1662, allocations: 2.768 MB / 365.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1662, allocations: 0 / 365.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.1662, allocations: 0 / 365.1 MB, free: 15.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1662, allocations: 0 / 365.1 MB, free: 15.2 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.002387/0.1686, allocations: 0.8889 MB / 366 MB, free: 14.26 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.1687, allocations: 12.03 kB / 366 MB, free: 14.25 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.1687, allocations: 30.56 kB / 366.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.1688, allocations: 11.89 kB / 366.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001813/0.169, allocations: 195 kB / 366.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/0.169, allocations: 4 kB / 366.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.169, allocations: 4 kB / 366.3 MB, free: 13.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1692, allocations: 75.31 kB / 366.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1692, allocations: 0 / 366.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.1692, allocations: 0 / 366.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.1692, allocations: 4 kB / 366.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1693, allocations: 23.98 kB / 366.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.1696, allocations: 194.5 kB / 366.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003015/0.1699, allocations: 97.2 kB / 366.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.856e-05/0.17, allocations: 16.05 kB / 366.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.029e-05/0.17, allocations: 46.5 kB / 366.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 5.581e-06/0.1701, allocations: 0 / 366.7 MB, free: 13.42 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003512/0.1704, allocations: 101.6 kB / 366.8 MB, free: 13.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.1705, allocations: 81.05 kB / 366.9 MB, free: 13.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.1706, allocations: 142 kB / 367 MB, free: 13.07 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.1706, allocations: 25.7 kB / 367.1 MB, free: 13.04 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.653e-05/0.1707, allocations: 88.14 kB / 367.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.1707, allocations: 11.72 kB / 367.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.1707, allocations: 4 kB / 367.2 MB, free: 12.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1709, allocations: 326.8 kB / 367.5 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.1709, allocations: 15.98 kB / 367.5 MB, free: 12.59 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.171, allocations: 29.7 kB / 367.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.072e-05/0.1711, allocations: 16 kB / 367.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1711, allocations: 0 / 367.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001647/0.1713, allocations: 93.94 kB / 367.6 MB, free: 12.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1713, allocations: 8 kB / 367.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1713, allocations: 0 / 367.6 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1713, allocations: 4 kB / 367.7 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/0.1714, allocations: 8 kB / 367.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.1714, allocations: 0 / 367.7 MB, free: 12.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.1714, allocations: 15.83 kB / 367.7 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1715, allocations: 0 / 367.7 MB, free: 12.4 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 9.433e-05/0.1716, allocations: 121.7 kB / 367.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.464e-05/0.1716, allocations: 8 kB / 367.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1718, allocations: 101.4 kB / 367.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.1718, allocations: 0 / 367.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1718, allocations: 3.938 kB / 367.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.1718, allocations: 4 kB / 367.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/0.172, allocations: 169.6 kB / 368.1 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.172, allocations: 4 kB / 368.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.1721, allocations: 11.98 kB / 368.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1721, allocations: 0 / 368.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.1721, allocations: 4 kB / 368.1 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1721, allocations: 4 kB / 368.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1721, allocations: 0 / 368.1 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003312/0.1724, allocations: 119.6 kB / 368.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.1725, allocations: 96.98 kB / 368.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.719e-05/0.1726, allocations: 4.312 kB / 368.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.052e-05/0.1726, allocations: 12 kB / 368.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.1727, allocations: 7.984 kB / 368.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-06/0.1727, allocations: 0 / 368.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.635e-05/0.1728, allocations: 119.2 kB / 368.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1728, allocations: 0 / 368.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002571/0.1754, allocations: 0.9135 MB / 369.4 MB, free: 10.6 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.004226/0.1796, allocations: 1.873 MB / 371.2 MB, free: 8.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.1798, allocations: 43.97 kB / 371.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1798, allocations: 0 / 371.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.002e-05/0.1799, allocations: 31.92 kB / 371.3 MB, free: 8.625 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.1801, allocations: 15.98 kB / 371.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.1821, allocations: 1.087 MB / 372.4 MB, free: 7.469 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1824, allocations: 0.6848 MB / 373.1 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.1825, allocations: 19.77 kB / 373.1 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.041e-05/0.1825, allocations: 23.42 kB / 373.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1825, allocations: 0 / 373.1 MB, free: 6.715 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2332/0.4157, allocations: 30.75 MB / 403.9 MB, free: 36.73 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.4159, allocations: 217.8 kB / 404.1 MB, free: 36.49 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/3.456, allocations: 4.062 kB / 404.1 MB, free: 36.48 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