Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_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.001113/0.001113, allocations: 95.69 kB / 16.93 MB, free: 5.984 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.001186/0.001186, allocations: 179.6 kB / 17.82 MB, free: 5.652 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.437/1.437, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004331/0.0004332, allocations: 8 kB / 280.8 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08869, allocations: 47.59 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01551/0.1042, allocations: 16.39 MB / 344.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005167/0.1094, allocations: 4.767 MB / 349.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.1097, allocations: 0 / 349.6 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005221/0.1102, allocations: 175.2 kB / 349.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003953/0.1106, allocations: 235.4 kB / 350 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.1139, allocations: 1.196 MB / 351.2 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.1144, allocations: 499 kB / 351.7 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1146, allocations: 76.67 kB / 351.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00877/0.1234, allocations: 7.219 MB / 358.9 MB, free: 5.391 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.1236, allocations: 171.3 kB / 359.1 MB, free: 5.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.1236, allocations: 12 kB / 359.1 MB, free: 5.211 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.125, allocations: 0.7297 MB / 359.9 MB, free: 4.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.078e-05/0.1251, allocations: 75.72 kB / 359.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1252, allocations: 93.58 kB / 360 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006638/0.1259, allocations: 0.6004 MB / 360.6 MB, free: 3.707 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.1259, allocations: 0 / 360.6 MB, free: 3.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1259, allocations: 0 / 360.6 MB, free: 3.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1259, allocations: 0 / 360.6 MB, free: 3.707 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006882/0.1266, allocations: 0.5885 MB / 361.2 MB, free: 3.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1267, allocations: 8.031 kB / 361.2 MB, free: 3.062 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.269e-05/0.1268, allocations: 66.53 kB / 361.3 MB, free: 2.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.1272, allocations: 63.59 kB / 361.3 MB, free: 2.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1275, allocations: 270.6 kB / 361.6 MB, free: 2.621 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1276, allocations: 20.56 kB / 361.6 MB, free: 2.602 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.1276, allocations: 24 kB / 361.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.128, allocations: 346.4 kB / 362 MB, free: 2.199 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.1281, allocations: 3.938 kB / 362 MB, free: 2.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.092e-05/0.1281, allocations: 12 kB / 362 MB, free: 2.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.1281, allocations: 8 kB / 362 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.1284, allocations: 206 kB / 362.2 MB, free: 1.977 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.1404, allocations: 5.9 MB / 368.1 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.1408, allocations: 191.1 kB / 368.3 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009971/0.1508, allocations: 3.873 MB / 372.2 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1508, allocations: 42.7 kB / 372.2 MB, free: 7.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.1509, allocations: 3.938 kB / 372.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.005989/0.1569, allocations: 1.416 MB / 373.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1569, allocations: 55.41 kB / 373.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002506/0.1572, allocations: 258.6 kB / 373.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.1572, allocations: 33.7 kB / 374 MB, free: 5.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1573, allocations: 180.1 kB / 374.2 MB, free: 5.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.1574, allocations: 98.62 kB / 374.3 MB, free: 5.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.1574, allocations: 12 kB / 374.3 MB, free: 5.004 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1575, allocations: 334.8 kB / 374.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/0.1577, allocations: 91.97 kB / 374.7 MB, free: 4.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.1579, allocations: 190.6 kB / 374.9 MB, free: 4.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.158, allocations: 116 kB / 375 MB, free: 4.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1581, allocations: 3.953 kB / 375 MB, free: 4.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006899/0.1588, allocations: 394.7 kB / 375.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.1588, allocations: 4.375 kB / 375.4 MB, free: 3.832 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1588, allocations: 8 kB / 375.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003236/0.162, allocations: 401.3 kB / 375.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.1623, allocations: 67.91 kB / 375.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001504/0.1638, allocations: 1.891 MB / 377.7 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.164, allocations: 19.94 kB / 377.7 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1641, allocations: 19.98 kB / 377.8 MB, free: 1.273 MB / 318.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.0001502/0.1642, allocations: 153.8 kB / 377.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.1643, allocations: 31.62 kB / 378 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007503/0.165, allocations: 493.9 kB / 378.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.1651, allocations: 8 kB / 378.4 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1651, allocations: 7.891 kB / 378.4 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.168/0.333, allocations: 0.7129 MB / 379.2 MB, free: 57.09 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.3347, allocations: 0.9332 MB / 380.1 MB, free: 56.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.3347, allocations: 4.406 kB / 380.1 MB, free: 56.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.3349, allocations: 44.83 kB / 380.1 MB, free: 56.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/0.3367, allocations: 333.5 kB / 380.5 MB, free: 56.76 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/0.3367, allocations: 15.23 kB / 380.5 MB, free: 56.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003642/0.3371, allocations: 0.6342 MB / 381.1 MB, free: 56.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3371, allocations: 6.781 kB / 381.1 MB, free: 56.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3382, allocations: 0.7307 MB / 381.9 MB, free: 55.95 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.863e-05/0.3383, allocations: 112 kB / 382 MB, free: 55.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3383, allocations: 10.75 kB / 382 MB, free: 55.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.3386, allocations: 11.34 kB / 382 MB, free: 55.85 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.049e-05/0.3387, allocations: 18.89 kB / 382 MB, free: 55.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.347e-05/0.3387, allocations: 12.56 kB / 382 MB, free: 55.85 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001785/0.3389, allocations: 187 kB / 382.2 MB, free: 55.74 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3389, allocations: 0 / 382.2 MB, free: 55.74 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006743/0.3396, allocations: 186.3 kB / 382.4 MB, free: 55.73 MB / 318.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.001526/0.3411, allocations: 1.503 MB / 383.9 MB, free: 54.72 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000739/0.3419, allocations: 446.4 kB / 384.3 MB, free: 54.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3419, allocations: 0 / 384.3 MB, free: 54.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/0.3423, allocations: 236 kB / 384.5 MB, free: 54.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009546/0.3433, allocations: 156.5 kB / 384.7 MB, free: 54.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003026/0.3463, allocations: 3.848 MB / 388.6 MB, free: 51.47 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.3466, allocations: 0.7828 MB / 389.3 MB, free: 50.77 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.3468, allocations: 55.59 kB / 389.4 MB, free: 50.76 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.347, allocations: 105.1 kB / 389.5 MB, free: 50.68 MB / 318.1 MB Notification: Performance of SimCode: time 1.363e-06/0.347, allocations: 0 / 389.5 MB, free: 50.68 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.3738, allocations: 12.51 MB / 402 MB, free: 43.96 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.374, allocations: 200.7 kB / 402.2 MB, free: 43.72 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.637, allocations: 0 / 402.2 MB, free: 43.72 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat does not exist to compare? outputFormat=mat