Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) 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(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Validation.idealGasLimit,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit",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.001148/0.001148, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001345/0.001344, allocations: 193.8 kB / 16.25 MB, free: 6.617 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.459/1.459, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04471/0.04471, allocations: 9.084 MB / 278.5 MB, free: 12.36 MB / 238.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.001817/0.001817, allocations: 67.91 kB / 337.6 MB, free: 25.69 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.09166, allocations: 48.17 MB / 385.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.0184/0.1101, allocations: 17.19 MB / 403 MB, free: 8.215 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008499/0.1187, allocations: 9.317 MB / 412.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1188, allocations: 3.938 kB / 412.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009468/0.1198, allocations: 340 kB / 412.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01004/0.1299, allocations: 3.925 MB / 416.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.365e-05/0.13, allocations: 4 kB / 416.6 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002058/0.1302, allocations: 143.1 kB / 416.7 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.1302, allocations: 13.12 kB / 416.7 MB, free: 10.44 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.1304, allocations: 67.59 kB / 416.8 MB, free: 10.37 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.416e-05/0.1305, allocations: 43.73 kB / 416.8 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1305, allocations: 4 kB / 416.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01229/0.1428, allocations: 7.586 MB / 424.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.44e-05/0.1429, allocations: 15.88 kB / 424.4 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.143, allocations: 51.67 kB / 424.5 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1984/0.3414, allocations: 3.279 MB / 427.8 MB, free: 25.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.3415, allocations: 0.75 kB / 427.8 MB, free: 25.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3415, allocations: 5.703 kB / 427.8 MB, free: 25.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.3415, allocations: 0 / 427.8 MB, free: 25.38 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001898/0.3434, allocations: 0.6934 MB / 428.5 MB, free: 24.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3435, allocations: 10.67 kB / 428.5 MB, free: 24.89 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.3435, allocations: 49.39 kB / 428.5 MB, free: 24.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.3436, allocations: 17.59 kB / 428.5 MB, free: 24.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.976e-05/0.3437, allocations: 173.4 kB / 428.7 MB, free: 24.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.3438, allocations: 8.406 kB / 428.7 MB, free: 24.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.3438, allocations: 5.031 kB / 428.7 MB, free: 24.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.344, allocations: 189 kB / 428.9 MB, free: 24.61 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3441, allocations: 0 / 428.9 MB, free: 24.61 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3441, allocations: 7.312 kB / 428.9 MB, free: 24.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3441, allocations: 7.641 kB / 428.9 MB, free: 24.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.3444, allocations: 239 kB / 429.1 MB, free: 24.61 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002704/0.3446, allocations: 292.6 kB / 429.4 MB, free: 24.4 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.3449, allocations: 226 kB / 429.7 MB, free: 24.38 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.345, allocations: 192.9 kB / 429.8 MB, free: 24.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01163/0.3567, allocations: 4.255 MB / 434.1 MB, free: 21.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.3568, allocations: 33.28 kB / 434.1 MB, free: 21.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.665e-06/0.3568, allocations: 0 / 434.1 MB, free: 21.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007751/0.3576, allocations: 0.4932 MB / 434.6 MB, free: 21.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.3576, allocations: 54.8 kB / 434.7 MB, free: 21.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.817e-05/0.3577, allocations: 100.2 kB / 434.8 MB, free: 21.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.3577, allocations: 29.14 kB / 434.8 MB, free: 21.01 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.3578, allocations: 88.69 kB / 434.9 MB, free: 20.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.3579, allocations: 125.6 kB / 435 MB, free: 20.84 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.711e-05/0.358, allocations: 39.64 kB / 435.1 MB, free: 20.83 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.3581, allocations: 325.5 kB / 435.4 MB, free: 20.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.3582, allocations: 116.2 kB / 435.5 MB, free: 20.52 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.3584, allocations: 146.3 kB / 435.6 MB, free: 20.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.3587, allocations: 277.7 kB / 435.9 MB, free: 20.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3587, allocations: 2.25 kB / 435.9 MB, free: 20.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000381/0.3591, allocations: 315 kB / 436.2 MB, free: 20.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3591, allocations: 8.094 kB / 436.2 MB, free: 20.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.3591, allocations: 3.297 kB / 436.2 MB, free: 20.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.3592, allocations: 5 kB / 436.2 MB, free: 20.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.3593, allocations: 23.66 kB / 436.2 MB, free: 20.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3593, allocations: 1.719 kB / 436.2 MB, free: 20.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.177e-05/0.3594, allocations: 21.97 kB / 436.3 MB, free: 20.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.3594, allocations: 5.141 kB / 436.3 MB, free: 20.41 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.495e-05/0.3595, allocations: 121.6 kB / 436.4 MB, free: 20.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.3595, allocations: 10.12 kB / 436.4 MB, free: 20.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.3601, allocations: 379.6 kB / 436.8 MB, free: 20.24 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.3601, allocations: 11.89 kB / 436.8 MB, free: 20.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3601, allocations: 3.656 kB / 436.8 MB, free: 20.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3601, allocations: 0.8906 kB / 436.8 MB, free: 20.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002441/0.3604, allocations: 287.6 kB / 437.1 MB, free: 20.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.3604, allocations: 2.312 kB / 437.1 MB, free: 20.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.251e-05/0.3605, allocations: 24.23 kB / 437.1 MB, free: 20.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.3605, allocations: 0 / 437.1 MB, free: 20.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.3605, allocations: 10.73 kB / 437.1 MB, free: 20.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3605, allocations: 5.922 kB / 437.1 MB, free: 20.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3605, allocations: 0 / 437.1 MB, free: 20.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.3609, allocations: 427.2 kB / 437.5 MB, free: 19.88 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.361, allocations: 105.3 kB / 437.6 MB, free: 19.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.361, allocations: 7.125 kB / 437.6 MB, free: 19.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.837e-05/0.3611, allocations: 10.03 kB / 437.6 MB, free: 19.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.3612, allocations: 9.141 kB / 437.7 MB, free: 19.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.3612, allocations: 10.12 kB / 437.7 MB, free: 19.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.525e-05/0.3612, allocations: 80.11 kB / 437.7 MB, free: 19.7 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3612, allocations: 0 / 437.7 MB, free: 19.7 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002577/0.3638, allocations: 0.6148 MB / 438.4 MB, free: 19.59 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003937/0.3678, allocations: 1.861 MB / 440.2 MB, free: 18.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000581/0.3684, allocations: 345.8 kB / 440.6 MB, free: 18.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3684, allocations: 4.062 kB / 440.6 MB, free: 18.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.3686, allocations: 203.5 kB / 440.8 MB, free: 18.67 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.3691, allocations: 77.47 kB / 440.8 MB, free: 18.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3707, allocations: 0.7106 MB / 441.5 MB, free: 18.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001483/0.3709, allocations: 0.7117 MB / 442.3 MB, free: 17.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001112/0.371, allocations: 25.77 kB / 442.3 MB, free: 17.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/0.3711, allocations: 39.95 kB / 442.3 MB, free: 17.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3711, allocations: 3.938 kB / 442.3 MB, free: 17.58 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04631/0.4174, allocations: 27.09 MB / 469.4 MB, free: 308 kB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001347/0.4176, allocations: 196.7 kB / 469.6 MB, free: 48 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.887/3.305, allocations: 0 / 469.6 MB, free: 48 kB / 318.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_Validation_idealGasLimit.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Validation.idealGasLimit.pipe 2>&1)