Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",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.001106/0.001106, allocations: 99.17 kB / 16.94 MB, free: 5.539 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.0009867/0.0009867, allocations: 175.4 kB / 17.82 MB, free: 5.234 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.408/1.408, allocations: 205.4 MB / 224 MB, free: 13.09 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.0004608/0.0004609, allocations: 20 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09737, allocations: 47.57 MB / 328.4 MB, free: 4.004 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02181/0.1192, allocations: 22.35 MB / 350.8 MB, free: 13.58 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006563/0.1259, allocations: 5.286 MB / 356.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004472/0.1264, allocations: 7.938 kB / 356.1 MB, free: 8.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008173/0.1272, allocations: 246.9 kB / 356.3 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007171/0.1279, allocations: 319 kB / 356.6 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.1326, allocations: 1.359 MB / 358 MB, free: 6.355 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001411/0.134, allocations: 0.6979 MB / 358.7 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.1342, allocations: 118 kB / 358.8 MB, free: 5.543 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.1348, allocations: 355 kB / 359.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.1351, allocations: 243 kB / 359.4 MB, free: 4.957 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.1352, allocations: 24 kB / 359.4 MB, free: 4.934 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.1368, allocations: 0.757 MB / 360.2 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.1369, allocations: 99.7 kB / 360.3 MB, free: 4.078 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001194/0.137, allocations: 125.5 kB / 360.4 MB, free: 3.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009396/0.138, allocations: 0.7406 MB / 361.1 MB, free: 3.207 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.138, allocations: 4 kB / 361.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.138, allocations: 0 / 361.1 MB, free: 3.203 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.138, allocations: 0 / 361.1 MB, free: 3.203 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001022/0.139, allocations: 0.69 MB / 361.8 MB, free: 2.465 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.1391, allocations: 12.03 kB / 361.8 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.722e-05/0.1392, allocations: 78.47 kB / 361.9 MB, free: 2.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005455/0.1397, allocations: 75.41 kB / 362 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.1402, allocations: 334.2 kB / 362.3 MB, free: 1.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.1402, allocations: 33 kB / 362.3 MB, free: 1.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.887e-05/0.1403, allocations: 36 kB / 362.4 MB, free: 1.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006426/0.1409, allocations: 459.6 kB / 362.8 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.141, allocations: 7.844 kB / 362.8 MB, free: 1.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/0.141, allocations: 23.95 kB / 362.8 MB, free: 1.336 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1411, allocations: 12 kB / 362.9 MB, free: 1.324 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.1415, allocations: 303.7 kB / 363.2 MB, free: 1.027 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/0.1544, allocations: 6.734 MB / 369.9 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.1549, allocations: 270.5 kB / 370.2 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009687/0.1646, allocations: 3.877 MB / 374 MB, free: 5.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.1646, allocations: 38.56 kB / 374.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.466e-06/0.1647, allocations: 0 / 374.1 MB, free: 5.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01151/0.1762, allocations: 2.489 MB / 376.6 MB, free: 2.641 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.123e-05/0.1763, allocations: 59.41 kB / 376.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.1767, allocations: 295.3 kB / 376.9 MB, free: 2.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.1767, allocations: 29.7 kB / 376.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1769, allocations: 224 kB / 377.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.177, allocations: 165.6 kB / 377.3 MB, free: 1.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.177, allocations: 12 kB / 377.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1772, allocations: 346.8 kB / 377.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.1774, allocations: 149.1 kB / 377.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.1777, allocations: 283.7 kB / 378.1 MB, free: 1.02 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.178, allocations: 188.8 kB / 378.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.178, allocations: 0 / 378.3 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009939/0.179, allocations: 0.5959 MB / 378.9 MB, free: 228 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1791, allocations: 4 kB / 378.9 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1791, allocations: 4 kB / 378.9 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1951/0.3742, allocations: 0.7632 MB / 379.6 MB, free: 29.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.3748, allocations: 109.3 kB / 379.7 MB, free: 29.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.3773, allocations: 2.467 MB / 382.2 MB, free: 27.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005872/0.3779, allocations: 35.94 kB / 382.2 MB, free: 27.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.958e-05/0.378, allocations: 20.5 kB / 382.3 MB, free: 27.29 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.3783, allocations: 179.7 kB / 382.4 MB, free: 27.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.3784, allocations: 44.84 kB / 382.5 MB, free: 27.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.3803, allocations: 0.8532 MB / 383.3 MB, free: 27.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.3803, allocations: 10.28 kB / 383.3 MB, free: 27.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3803, allocations: 3.625 kB / 383.4 MB, free: 27.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/0.3814, allocations: 0.9585 MB / 384.3 MB, free: 26.71 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002287/0.3837, allocations: 1.492 MB / 385.8 MB, free: 26.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.3838, allocations: 4.594 kB / 385.8 MB, free: 26.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003341/0.3841, allocations: 75.66 kB / 385.9 MB, free: 26.38 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003456/0.3876, allocations: 0.6351 MB / 386.5 MB, free: 26.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.3877, allocations: 16.8 kB / 386.5 MB, free: 26.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008531/0.3885, allocations: 1.276 MB / 387.8 MB, free: 25.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.3885, allocations: 1.25 kB / 387.8 MB, free: 25.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/0.3902, allocations: 1.229 MB / 389 MB, free: 25.11 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.3904, allocations: 121 kB / 389.2 MB, free: 24.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.353e-05/0.3905, allocations: 10.56 kB / 389.2 MB, free: 24.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/0.3908, allocations: 31.94 kB / 389.2 MB, free: 24.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.3908, allocations: 29.95 kB / 389.2 MB, free: 24.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.3909, allocations: 17.47 kB / 389.2 MB, free: 24.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002578/0.3912, allocations: 210.2 kB / 389.4 MB, free: 24.91 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3912, allocations: 0 / 389.4 MB, free: 24.91 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3922, allocations: 237.3 kB / 389.7 MB, free: 24.9 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002492/0.3947, allocations: 2.019 MB / 391.7 MB, free: 24.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.3961, allocations: 0.6858 MB / 392.4 MB, free: 23.95 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3961, allocations: 3.875 kB / 392.4 MB, free: 23.95 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009127/0.397, allocations: 428.2 kB / 392.8 MB, free: 23.95 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.3982, allocations: 225.7 kB / 393 MB, free: 23.94 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/0.4031, allocations: 5.263 MB / 398.3 MB, free: 20.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.4034, allocations: 0.8496 MB / 399.1 MB, free: 19.81 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000378/0.4038, allocations: 74.95 kB / 399.2 MB, free: 19.79 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001987/0.404, allocations: 158.3 kB / 399.4 MB, free: 19.79 MB / 318.1 MB Notification: Performance of SimCode: time 2.144e-06/0.404, allocations: 0 / 399.4 MB, free: 19.79 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.4348, allocations: 16.09 MB / 415.5 MB, free: 11.41 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001601/0.435, allocations: 204.6 kB / 415.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.347/2.782, allocations: 4 kB / 415.7 MB, free: 11.16 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat does not exist to compare? outputFormat=mat