Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.0009082/0.0009083, allocations: 95.97 kB / 16.95 MB, free: 6.453 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.000825/0.0008251, allocations: 185.8 kB / 17.84 MB, free: 6.004 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.524/1.524, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004162/0.0004163, allocations: 12 kB / 280.9 MB, free: 3.621 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09041/0.09084, allocations: 47.57 MB / 328.5 MB, free: 3.973 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3511/0.4419, allocations: 156.9 MB / 485.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005089/0.4471, allocations: 3.001 MB / 488.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003936/0.4475, allocations: 4 kB / 488.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005942/0.4481, allocations: 127.2 kB / 488.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.4493, allocations: 362.1 kB / 488.8 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.4503, allocations: 278.2 kB / 489.1 MB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001462/0.4518, allocations: 1.114 MB / 490.2 MB, free: 8.305 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.452, allocations: 61.2 kB / 490.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002207/0.4542, allocations: 0.6821 MB / 491 MB, free: 7.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.4547, allocations: 270.9 kB / 491.2 MB, free: 7.297 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.4548, allocations: 12 kB / 491.2 MB, free: 7.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003761/0.4552, allocations: 111.8 kB / 491.3 MB, free: 7.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.4553, allocations: 71.78 kB / 491.4 MB, free: 7.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.4554, allocations: 97.52 kB / 491.5 MB, free: 7.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005493/0.456, allocations: 392.8 kB / 491.9 MB, free: 6.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.456, allocations: 4 kB / 491.9 MB, free: 6.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.456, allocations: 8 kB / 491.9 MB, free: 6.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.4561, allocations: 0 / 491.9 MB, free: 6.609 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009071/0.457, allocations: 0.5191 MB / 492.4 MB, free: 6.043 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.457, allocations: 12.03 kB / 492.4 MB, free: 6.031 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.806e-05/0.4572, allocations: 58.55 kB / 492.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003722/0.4575, allocations: 43.61 kB / 492.5 MB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004624/0.458, allocations: 270.6 kB / 492.8 MB, free: 5.617 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.4581, allocations: 24.56 kB / 492.8 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.4581, allocations: 24 kB / 492.9 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007068/0.4588, allocations: 315.6 kB / 493.2 MB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.4589, allocations: 4 kB / 493.2 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.4589, allocations: 19.95 kB / 493.2 MB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.459, allocations: 4 kB / 493.2 MB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004515/0.4594, allocations: 209.5 kB / 493.4 MB, free: 5 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.4613, allocations: 1.577 MB / 495 MB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.4616, allocations: 170.8 kB / 495.1 MB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.4617, allocations: 92.83 kB / 495.2 MB, free: 3.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.4618, allocations: 7.984 kB / 495.2 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.4618, allocations: 39.25 kB / 495.3 MB, free: 2.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.4618, allocations: 4 kB / 495.3 MB, free: 2.945 MB / 382.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.00706/0.4689, allocations: 1.624 MB / 496.9 MB, free: 1.191 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.469, allocations: 63.34 kB / 497 MB, free: 1.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003613/0.4694, allocations: 252.8 kB / 497.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/0.4694, allocations: 33.7 kB / 497.2 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.4696, allocations: 180.2 kB / 497.4 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.4697, allocations: 102.5 kB / 497.5 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.4697, allocations: 8 kB / 497.5 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4699, allocations: 334.8 kB / 497.9 MB, free: 200 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.4701, allocations: 87.75 kB / 497.9 MB, free: 112 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003132/0.4704, allocations: 191.8 kB / 498.1 MB, free: 15.88 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.4707, allocations: 119.9 kB / 498.2 MB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4707, allocations: 0 / 498.2 MB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008819/0.4716, allocations: 394.8 kB / 498.6 MB, free: 15.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.4717, allocations: 11.95 kB / 498.6 MB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4717, allocations: 0 / 498.6 MB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/0.472, allocations: 73.67 kB / 498.7 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004657/0.4724, allocations: 83.89 kB / 498.8 MB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.4743, allocations: 1.86 MB / 0.4889 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003513/0.4746, allocations: 23.89 kB / 0.4889 GB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/0.4747, allocations: 36 kB / 0.489 GB, free: 13.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002691/0.475, allocations: 153.7 kB / 0.4891 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-05/0.4751, allocations: 31.8 kB / 0.4892 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.4765, allocations: 440.5 kB / 0.4896 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.004e-06/0.4765, allocations: 4 kB / 0.4896 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4765, allocations: 0 / 0.4896 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007472/0.4773, allocations: 0.5707 MB / 0.4901 GB, free: 11.81 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.4787, allocations: 0.7194 MB / 0.4908 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4787, allocations: 0 / 0.4908 GB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/0.4792, allocations: 75.83 kB / 0.4909 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001108/0.4793, allocations: 24.75 kB / 0.4909 GB, free: 10.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.713e-05/0.4794, allocations: 20.05 kB / 0.491 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001186/0.4806, allocations: 1.28 MB / 0.4922 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4806, allocations: 0 / 0.4922 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009469/0.4815, allocations: 474.5 kB / 0.4927 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.4817, allocations: 108.8 kB / 0.4928 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.4817, allocations: 4 kB / 0.4928 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003675/0.4821, allocations: 20.11 kB / 0.4928 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.4822, allocations: 31.91 kB / 0.4928 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.4823, allocations: 27.98 kB / 0.4928 GB, free: 8.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002354/0.4825, allocations: 186 kB / 0.493 GB, free: 8.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4826, allocations: 0 / 0.493 GB, free: 8.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007362/0.4833, allocations: 120 kB / 0.4931 GB, free: 8.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/0.4849, allocations: 1.07 MB / 0.4942 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008467/0.4857, allocations: 371.1 kB / 0.4945 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4857, allocations: 0 / 0.4945 GB, free: 7.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003061/0.4861, allocations: 238.5 kB / 0.4948 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.487, allocations: 157.5 kB / 0.4949 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002788/0.4898, allocations: 1.884 MB / 0.4967 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.4903, allocations: 0.7645 MB / 0.4975 GB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005725/0.4909, allocations: 118.9 kB / 0.4976 GB, free: 3.738 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.4912, allocations: 123.4 kB / 0.4977 GB, free: 3.617 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4912, allocations: 0 / 0.4977 GB, free: 3.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.5165, allocations: 11.14 MB / 0.5086 GB, free: 8.469 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.5167, allocations: 233.8 kB / 0.5088 GB, free: 8.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.188/2.705, allocations: 0 / 0.5088 GB, free: 8.23 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat