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.001051/0.001051, allocations: 97.31 kB / 16.95 MB, free: 6.891 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.00123/0.00123, allocations: 184.9 kB / 17.84 MB, free: 6.137 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.452/1.452, allocations: 205.4 MB / 224 MB, free: 13.15 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.0004413/0.0004413, allocations: 8 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09491, allocations: 47.58 MB / 328.4 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0323/0.1273, allocations: 34.61 MB / 363.1 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005786/0.1331, allocations: 4.295 MB / 367.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.1335, allocations: 4 kB / 367.4 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007704/0.1343, allocations: 222.7 kB / 367.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008552/0.1352, allocations: 453.6 kB / 368 MB, free: 12.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004097/0.1393, allocations: 1.288 MB / 369.3 MB, free: 11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00188/0.1412, allocations: 1.616 MB / 370.9 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002601/0.1415, allocations: 114.1 kB / 371 MB, free: 9.266 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006035/0.1421, allocations: 414.5 kB / 371.4 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004836/0.1426, allocations: 386.5 kB / 371.8 MB, free: 8.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.1426, allocations: 24 kB / 371.8 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.1442, allocations: 0.7024 MB / 372.5 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001299/0.1444, allocations: 107.5 kB / 372.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.1445, allocations: 125.5 kB / 372.8 MB, free: 7.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008494/0.1453, allocations: 0.7601 MB / 373.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1454, allocations: 0 / 373.5 MB, free: 6.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.908e-06/0.1454, allocations: 3.984 kB / 373.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1454, allocations: 0 / 373.5 MB, free: 6.754 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009646/0.1463, allocations: 0.69 MB / 374.2 MB, free: 6.016 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.1464, allocations: 8.031 kB / 374.2 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.724e-05/0.1465, allocations: 82.52 kB / 374.3 MB, free: 5.918 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005271/0.147, allocations: 79.41 kB / 374.4 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.1475, allocations: 326.2 kB / 374.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.1475, allocations: 33 kB / 374.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.1476, allocations: 44 kB / 374.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007131/0.1483, allocations: 463.5 kB / 375.2 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.1484, allocations: 11.89 kB / 375.2 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.1484, allocations: 23.94 kB / 375.3 MB, free: 4.875 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1484, allocations: 16 kB / 375.3 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004546/0.1489, allocations: 299.7 kB / 375.6 MB, free: 4.566 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2079/0.3568, allocations: 6.709 MB / 382.3 MB, free: 54.95 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005034/0.3573, allocations: 274.2 kB / 382.6 MB, free: 54.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.3576, allocations: 153.2 kB / 382.7 MB, free: 54.92 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.368, allocations: 3.874 MB / 386.6 MB, free: 53.33 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.688e-05/0.3682, allocations: 43.94 kB / 386.6 MB, free: 53.29 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.417e-06/0.3682, allocations: 1.031 kB / 386.6 MB, free: 53.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01164/0.3798, allocations: 2.477 MB / 389.1 MB, free: 52.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.3799, allocations: 59.59 kB / 389.2 MB, free: 52.66 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000436/0.3804, allocations: 306.8 kB / 389.5 MB, free: 52.5 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.218e-05/0.3804, allocations: 35.86 kB / 389.5 MB, free: 52.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3806, allocations: 226.4 kB / 389.7 MB, free: 52.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.3807, allocations: 163.3 kB / 389.9 MB, free: 52.15 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.504e-05/0.3808, allocations: 10.31 kB / 389.9 MB, free: 52.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.3809, allocations: 345.6 kB / 390.2 MB, free: 51.81 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.3812, allocations: 149.3 kB / 390.4 MB, free: 51.76 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.3815, allocations: 278 kB / 390.6 MB, free: 51.53 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003393/0.3819, allocations: 192.2 kB / 390.8 MB, free: 51.43 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3819, allocations: 1.438 kB / 390.8 MB, free: 51.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001169/0.3831, allocations: 0.5904 MB / 391.4 MB, free: 51.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3831, allocations: 7.688 kB / 391.4 MB, free: 51.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/0.3831, allocations: 4.062 kB / 391.4 MB, free: 51.11 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00557/0.3887, allocations: 0.7757 MB / 392.2 MB, free: 50.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004482/0.3892, allocations: 109.1 kB / 392.3 MB, free: 50.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/0.391, allocations: 2.458 MB / 394.8 MB, free: 48.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004289/0.3914, allocations: 38.56 kB / 394.8 MB, free: 48.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.3915, allocations: 24.3 kB / 394.8 MB, free: 48.28 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.0002655/0.3918, allocations: 177.9 kB / 395 MB, free: 48.12 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.3918, allocations: 34.78 kB / 395 MB, free: 48.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.3931, allocations: 0.8679 MB / 395.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.3931, allocations: 10.61 kB / 395.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.3931, allocations: 0 / 395.9 MB, free: 47.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009355/0.3941, allocations: 0.9516 MB / 396.9 MB, free: 46.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002105/0.3962, allocations: 1.5 MB / 398.4 MB, free: 45.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3962, allocations: 0 / 398.4 MB, free: 45.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.3965, allocations: 79.05 kB / 398.4 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002847/0.3994, allocations: 0.6384 MB / 399.1 MB, free: 45.51 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.541e-05/0.3994, allocations: 15.95 kB / 399.1 MB, free: 45.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000715/0.4002, allocations: 1.278 MB / 400.4 MB, free: 44.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.4002, allocations: 3.938 kB / 400.4 MB, free: 44.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.4015, allocations: 1.218 MB / 401.6 MB, free: 43.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.4016, allocations: 120.2 kB / 401.7 MB, free: 43.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.4017, allocations: 19.28 kB / 401.7 MB, free: 43.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002518/0.4019, allocations: 21.53 kB / 401.8 MB, free: 43.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.402, allocations: 32 kB / 401.8 MB, free: 43.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.362e-05/0.402, allocations: 19.48 kB / 401.8 MB, free: 43.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.4023, allocations: 212.7 kB / 402 MB, free: 43.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4023, allocations: 0 / 402 MB, free: 43.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000869/0.4031, allocations: 232.5 kB / 402.2 MB, free: 43.23 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.001937/0.4051, allocations: 1.935 MB / 404.2 MB, free: 41.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.4061, allocations: 0.6846 MB / 404.9 MB, free: 40.81 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.4061, allocations: 2.188 kB / 404.9 MB, free: 40.81 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007634/0.4069, allocations: 429.5 kB / 405.3 MB, free: 40.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.408, allocations: 241 kB / 405.5 MB, free: 40.17 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003643/0.4117, allocations: 3.004 MB / 408.5 MB, free: 37.1 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002792/0.412, allocations: 0.8454 MB / 409.4 MB, free: 36.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000312/0.4123, allocations: 72.72 kB / 409.4 MB, free: 36.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4125, allocations: 159.3 kB / 409.6 MB, free: 36 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4125, allocations: 0 / 409.6 MB, free: 36 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02684/0.4394, allocations: 16.1 MB / 425.7 MB, free: 19.89 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.4396, allocations: 209.8 kB / 425.9 MB, free: 19.65 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.789, allocations: 0 / 425.9 MB, free: 19.65 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