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.0007955/0.0007956, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00495/0.00495, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.683/1.683, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05304/0.05304, allocations: 9.067 MB / 279.8 MB, free: 12.14 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.0005288/0.0005289, allocations: 12 kB / 339.8 MB, free: 25.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.119, allocations: 49.18 MB / 389 MB, free: 8.305 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.02139/0.1405, allocations: 16.95 MB / 406 MB, free: 7.281 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.1507, allocations: 9.443 MB / 415.4 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.1509, allocations: 0 / 415.4 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.152, allocations: 328 kB / 415.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01196/0.164, allocations: 3.687 MB / 419.4 MB, free: 9.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.297e-05/0.1641, allocations: 4 kB / 419.4 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1643, allocations: 135.2 kB / 419.6 MB, free: 9.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.637e-05/0.1644, allocations: 9.125 kB / 419.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.1645, allocations: 67.59 kB / 419.6 MB, free: 9.582 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.1646, allocations: 47.73 kB / 419.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.1647, allocations: 0 / 419.7 MB, free: 9.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01291/0.1776, allocations: 7.043 MB / 426.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.141e-05/0.1776, allocations: 19.84 kB / 426.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.993e-05/0.1777, allocations: 73.45 kB / 426.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2738/0.4515, allocations: 3.103 MB / 429.9 MB, free: 24.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.4516, allocations: 0 / 429.9 MB, free: 24.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.4516, allocations: 0 / 429.9 MB, free: 24.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.4516, allocations: 0.6562 kB / 429.9 MB, free: 24.31 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.002388/0.454, allocations: 0.6848 MB / 430.6 MB, free: 23.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.4541, allocations: 9.641 kB / 430.6 MB, free: 23.82 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.666e-05/0.4541, allocations: 49.06 kB / 430.7 MB, free: 23.79 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.4543, allocations: 23.84 kB / 430.7 MB, free: 23.78 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4544, allocations: 176.7 kB / 430.9 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.4544, allocations: 5.031 kB / 430.9 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.183e-05/0.4545, allocations: 4.219 kB / 430.9 MB, free: 23.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/0.4548, allocations: 185.5 kB / 431 MB, free: 23.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.4549, allocations: 3.375 kB / 431 MB, free: 23.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.4549, allocations: 6.781 kB / 431.1 MB, free: 23.54 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/0.4549, allocations: 5.828 kB / 431.1 MB, free: 23.54 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000383/0.4553, allocations: 241.9 kB / 431.3 MB, free: 23.54 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/0.4556, allocations: 293.8 kB / 431.6 MB, free: 23.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.456, allocations: 224.7 kB / 431.8 MB, free: 23.31 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.4562, allocations: 188.5 kB / 432 MB, free: 23.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01167/0.4679, allocations: 4.162 MB / 436.1 MB, free: 20.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.468, allocations: 34.78 kB / 436.2 MB, free: 20.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.495e-06/0.468, allocations: 0 / 436.2 MB, free: 20.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008885/0.4689, allocations: 493.2 kB / 436.7 MB, free: 20.14 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.827e-05/0.469, allocations: 59.78 kB / 436.7 MB, free: 20.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.4691, allocations: 104.2 kB / 436.8 MB, free: 19.97 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.4691, allocations: 26.89 kB / 436.9 MB, free: 19.94 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.4692, allocations: 82.44 kB / 436.9 MB, free: 19.86 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4693, allocations: 126.6 kB / 437.1 MB, free: 19.78 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.4694, allocations: 32.2 kB / 437.1 MB, free: 19.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4695, allocations: 318.8 kB / 437.4 MB, free: 19.45 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.4698, allocations: 121.8 kB / 437.5 MB, free: 19.45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002643/0.47, allocations: 138.8 kB / 437.7 MB, free: 19.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.4705, allocations: 283.2 kB / 437.9 MB, free: 19.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4705, allocations: 0 / 437.9 MB, free: 19.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005777/0.4711, allocations: 318.5 kB / 438.2 MB, free: 19.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.194e-05/0.4712, allocations: 8.469 kB / 438.2 MB, free: 19.36 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.4712, allocations: 4.672 kB / 438.3 MB, free: 19.36 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.4712, allocations: 1.375 kB / 438.3 MB, free: 19.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.4714, allocations: 22.78 kB / 438.3 MB, free: 19.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.4714, allocations: 6.719 kB / 438.3 MB, free: 19.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.871e-05/0.4715, allocations: 19.47 kB / 438.3 MB, free: 19.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.4716, allocations: 7.312 kB / 438.3 MB, free: 19.34 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 0.0001362/0.4717, allocations: 119.6 kB / 438.4 MB, free: 19.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.882e-05/0.4718, allocations: 16.16 kB / 438.4 MB, free: 19.22 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007905/0.4726, allocations: 378.5 kB / 438.8 MB, free: 19.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.4726, allocations: 5.016 kB / 438.8 MB, free: 19.17 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/0.4726, allocations: 4.875 kB / 438.8 MB, free: 19.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.4726, allocations: 1.219 kB / 438.8 MB, free: 19.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.473, allocations: 284.7 kB / 439.1 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.473, allocations: 3.828 kB / 439.1 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.41e-05/0.4731, allocations: 20.88 kB / 439.1 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.4732, allocations: 2.828 kB / 439.1 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.4732, allocations: 12.64 kB / 439.1 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.4732, allocations: 1.375 kB / 439.1 MB, free: 18.97 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4732, allocations: 4.812 kB / 439.1 MB, free: 18.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005293/0.4737, allocations: 428 kB / 439.6 MB, free: 18.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.204e-05/0.4738, allocations: 108.7 kB / 439.7 MB, free: 18.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.4738, allocations: 5.609 kB / 439.7 MB, free: 18.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.325e-05/0.4739, allocations: 2.375 kB / 439.7 MB, free: 18.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.474, allocations: 14.34 kB / 439.7 MB, free: 18.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.474, allocations: 8.859 kB / 439.7 MB, free: 18.7 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.409e-05/0.474, allocations: 82.06 kB / 439.8 MB, free: 18.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.474, allocations: 0 / 439.8 MB, free: 18.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00307/0.4771, allocations: 0.6149 MB / 440.4 MB, free: 18.52 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.004319/0.4814, allocations: 1.846 MB / 442.2 MB, free: 17.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006934/0.4822, allocations: 342.7 kB / 442.6 MB, free: 17.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.4822, allocations: 0.625 kB / 442.6 MB, free: 17.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.4825, allocations: 206.3 kB / 442.8 MB, free: 17.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006934/0.4832, allocations: 76.06 kB / 442.9 MB, free: 17.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.4851, allocations: 0.731 MB / 443.6 MB, free: 17.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.4854, allocations: 0.7152 MB / 444.3 MB, free: 16.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.4855, allocations: 22.2 kB / 444.3 MB, free: 16.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.906e-05/0.4856, allocations: 38.62 kB / 444.4 MB, free: 16.55 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4856, allocations: 1.969 kB / 444.4 MB, free: 16.55 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05998/0.5456, allocations: 26.86 MB / 471.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.5458, allocations: 199.8 kB / 471.4 MB, free: 15.4 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/3.725, allocations: 0 / 471.4 MB, free: 15.4 MB / 334.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)