Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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 4.0.0+maint.om/package.mo", uses=false) 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 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.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",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.0008877/0.0008879, allocations: 85.17 kB / 16.31 MB, free: 6.449 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.001052/0.001052, allocations: 180.4 kB / 17.21 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.2 MB / 241.2 MB, free: 5.25 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002702, allocations: 8.031 kB / 300.9 MB, free: 5.574 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09158/0.09187, allocations: 50.42 MB / 351.3 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02293/0.1148, allocations: 24.92 MB / 376.3 MB, free: 2.305 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004729/0.1196, allocations: 3.886 MB / 380.1 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003551/0.12, allocations: 4 kB / 380.1 MB, free: 14.4 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006079/0.1206, allocations: 163.1 kB / 380.3 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006301/0.1213, allocations: 314.3 kB / 380.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003407/0.1247, allocations: 1.146 MB / 381.8 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001129/0.1258, allocations: 1.106 MB / 382.9 MB, free: 11.68 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.126, allocations: 84.59 kB / 382.9 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009941/0.136, allocations: 7.475 MB / 390.4 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000392/0.1364, allocations: 278.8 kB / 390.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.1365, allocations: 12 kB / 390.7 MB, free: 3.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.1379, allocations: 0.6751 MB / 391.4 MB, free: 3.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.138, allocations: 75.77 kB / 391.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.1381, allocations: 97.52 kB / 391.5 MB, free: 2.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007045/0.1389, allocations: 0.6001 MB / 392.1 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1389, allocations: 0 / 392.1 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.1389, allocations: 0 / 392.1 MB, free: 2.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1389, allocations: 4 kB / 392.1 MB, free: 2.375 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008119/0.1397, allocations: 0.5947 MB / 392.7 MB, free: 1.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1398, allocations: 8.031 kB / 392.8 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.648e-05/0.1398, allocations: 66.53 kB / 392.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004183/0.1403, allocations: 55.61 kB / 392.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.1406, allocations: 282.5 kB / 393.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.1406, allocations: 16.56 kB / 393.2 MB, free: 1.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.645e-05/0.1407, allocations: 32 kB / 393.2 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.1412, allocations: 330.5 kB / 393.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1412, allocations: 0 / 393.5 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.1412, allocations: 16 kB / 393.5 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.1412, allocations: 8 kB / 393.5 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.1416, allocations: 206 kB / 393.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01108/0.1526, allocations: 5.908 MB / 399.6 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.153, allocations: 179.2 kB / 399.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1531, allocations: 89.2 kB / 399.9 MB, free: 9.969 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009038/0.1622, allocations: 3.873 MB / 403.8 MB, free: 5.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.497e-05/0.1623, allocations: 30.75 kB / 403.8 MB, free: 5.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.043e-06/0.1623, allocations: 0 / 403.8 MB, free: 5.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.006593/0.1689, allocations: 1.427 MB / 405.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.169, allocations: 55.41 kB / 405.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.1693, allocations: 262.5 kB / 405.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1693, allocations: 33.64 kB / 405.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.1694, allocations: 192 kB / 405.8 MB, free: 3.695 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.1695, allocations: 94.59 kB / 405.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.1695, allocations: 4 kB / 405.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1697, allocations: 346.8 kB / 406.2 MB, free: 3.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1698, allocations: 91.75 kB / 406.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.17, allocations: 175.1 kB / 406.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.1702, allocations: 119.9 kB / 406.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1703, allocations: 0 / 406.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006662/0.1709, allocations: 390.8 kB / 407 MB, free: 2.438 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.171, allocations: 11.98 kB / 407 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.171, allocations: 8.328 kB / 407 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.1739, allocations: 405.3 kB / 407.4 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.1741, allocations: 63.91 kB / 407.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.1756, allocations: 1.879 MB / 409.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.1759, allocations: 19.94 kB / 409.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.1759, allocations: 19.98 kB / 409.4 MB, free: 15.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.1761, allocations: 159 kB / 409.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.084e-05/0.1762, allocations: 31.62 kB / 409.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006812/0.1768, allocations: 494.2 kB / 410 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.1769, allocations: 4 kB / 410 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.1769, allocations: 0 / 410 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005995/0.1775, allocations: 0.7202 MB / 410.8 MB, free: 14.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.1787, allocations: 0.9456 MB / 411.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.1787, allocations: 0 / 411.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.1789, allocations: 47.91 kB / 411.7 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/0.1804, allocations: 328.3 kB / 412.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.1804, allocations: 8 kB / 412.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004279/0.1809, allocations: 0.6382 MB / 412.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1809, allocations: 0 / 412.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.1817, allocations: 0.7241 MB / 413.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.237e-05/0.1818, allocations: 116.7 kB / 413.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.1819, allocations: 4 kB / 413.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.1821, allocations: 27.83 kB / 413.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.1821, allocations: 16.05 kB / 413.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.1821, allocations: 15.98 kB / 413.6 MB, free: 11.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.1823, allocations: 182 kB / 413.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1823, allocations: 0 / 413.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006627/0.183, allocations: 187.9 kB / 414 MB, free: 11.01 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001555/0.1846, allocations: 1.422 MB / 415.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007219/0.1853, allocations: 451.2 kB / 415.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1853, allocations: 0 / 415.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.1858, allocations: 227.8 kB / 416.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.1867, allocations: 170.5 kB / 416.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002863/0.1896, allocations: 2.047 MB / 418.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1899, allocations: 0.7802 MB / 419.1 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002285/0.1902, allocations: 50.94 kB / 419.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.1903, allocations: 99.41 kB / 419.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1903, allocations: 3.938 kB / 419.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1967/0.3871, allocations: 12.53 MB / 431.7 MB, free: 68.9 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/0.3872, allocations: 206.6 kB / 431.9 MB, free: 68.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.246/2.633, allocations: 0 / 431.9 MB, free: 68.66 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat