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.001019/0.001019, allocations: 99.08 kB / 15.05 MB, free: 1.105 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.0009602/0.0009602, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 222.1 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04319/0.04319, allocations: 9.05 MB / 279.4 MB, free: 12.29 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.0004823/0.0004823, allocations: 16 kB / 339.2 MB, free: 25.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08594/0.08643, allocations: 49.17 MB / 388.4 MB, free: 8.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01581/0.1023, allocations: 14.39 MB / 402.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007529/0.1099, allocations: 7.916 MB / 410.7 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.11, allocations: 0 / 410.7 MB, free: 2.332 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009312/0.1109, allocations: 322.8 kB / 411 MB, free: 2.016 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009048/0.12, allocations: 3.617 MB / 414.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.26e-05/0.12, allocations: 3.938 kB / 414.6 MB, free: 14.39 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.1202, allocations: 103.8 kB / 414.7 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.1203, allocations: 9.109 kB / 414.7 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1205, allocations: 95.62 kB / 414.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.611e-05/0.1206, allocations: 39.8 kB / 414.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.528e-06/0.1206, allocations: 0 / 414.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.1338, allocations: 7.399 MB / 422.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.515e-05/0.1338, allocations: 7.938 kB / 422.2 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.482e-05/0.1339, allocations: 45.64 kB / 422.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.1377, allocations: 1.715 MB / 424 MB, free: 4.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1377, allocations: 0 / 424 MB, free: 4.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1377, allocations: 0 / 424 MB, free: 4.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1377, allocations: 0 / 424 MB, free: 4.961 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.001469/0.1392, allocations: 0.6939 MB / 424.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1393, allocations: 8.031 kB / 424.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.677e-05/0.1393, allocations: 50.55 kB / 424.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.1395, allocations: 15.86 kB / 424.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.1396, allocations: 174.9 kB / 424.9 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1396, allocations: 4 kB / 425 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.1396, allocations: 8 kB / 425 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.1399, allocations: 178.6 kB / 425.1 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1399, allocations: 0 / 425.1 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1399, allocations: 7.984 kB / 425.1 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1399, allocations: 8 kB / 425.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/0.1402, allocations: 240.2 kB / 425.4 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.1405, allocations: 290.5 kB / 425.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.1407, allocations: 226.8 kB / 425.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1715/0.3123, allocations: 4.18 MB / 430.1 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3123, allocations: 34.19 kB / 430.1 MB, free: 45.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/0.3123, allocations: 0 / 430.1 MB, free: 45.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0006822/0.313, allocations: 0.6442 MB / 430.7 MB, free: 45.26 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.3131, allocations: 53.41 kB / 430.8 MB, free: 45.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.004e-05/0.3131, allocations: 107.8 kB / 430.9 MB, free: 45.09 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.3132, allocations: 30.27 kB / 430.9 MB, free: 45.06 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.204e-05/0.3132, allocations: 86.17 kB / 431 MB, free: 44.98 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.782e-05/0.3133, allocations: 126.8 kB / 431.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-06/0.3133, allocations: 4.641 kB / 431.1 MB, free: 44.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.3134, allocations: 325.1 kB / 431.5 MB, free: 44.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.3135, allocations: 114.5 kB / 431.6 MB, free: 44.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3136, allocations: 139.2 kB / 431.7 MB, free: 44.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3138, allocations: 126.7 kB / 431.8 MB, free: 44.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3138, allocations: 0.875 kB / 431.8 MB, free: 44.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004572/0.3143, allocations: 321 kB / 432.1 MB, free: 44.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3143, allocations: 9.047 kB / 432.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/0.3143, allocations: 2.172 kB / 432.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.3143, allocations: 2.281 kB / 432.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3145, allocations: 23.92 kB / 432.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3145, allocations: 5.203 kB / 432.2 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.3146, allocations: 13 kB / 432.2 MB, free: 44.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.837e-05/0.3146, allocations: 6.109 kB / 432.2 MB, free: 44.51 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.442e-05/0.3147, allocations: 119.5 kB / 432.3 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.3147, allocations: 11.97 kB / 432.3 MB, free: 44.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005758/0.3153, allocations: 385.9 kB / 432.7 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.3153, allocations: 4.172 kB / 432.7 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.3153, allocations: 4.5 kB / 432.7 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3153, allocations: 1.359 kB / 432.7 MB, free: 44.33 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.3156, allocations: 295.7 kB / 433 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.3156, allocations: 1.578 kB / 433 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.317e-05/0.3157, allocations: 21.86 kB / 433 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.3157, allocations: 1.156 kB / 433 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.3158, allocations: 6.859 kB / 433 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3158, allocations: 0.9688 kB / 433 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3158, allocations: 0.9688 kB / 433 MB, free: 44.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.3162, allocations: 434.6 kB / 433.5 MB, free: 43.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.3162, allocations: 112 kB / 433.6 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.3163, allocations: 9.781 kB / 433.6 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.337e-05/0.3163, allocations: 1.094 kB / 433.6 MB, free: 43.74 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.583e-05/0.3164, allocations: 12.97 kB / 433.6 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.3164, allocations: 5.297 kB / 433.6 MB, free: 43.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.168e-05/0.3164, allocations: 84.98 kB / 433.7 MB, free: 43.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3164, allocations: 1.062 kB / 433.7 MB, free: 43.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001877/0.3183, allocations: 0.612 MB / 434.3 MB, free: 43.62 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003119/0.3214, allocations: 1.841 MB / 436.1 MB, free: 42.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003984/0.3219, allocations: 327.9 kB / 436.5 MB, free: 42.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.3219, allocations: 3.594 kB / 436.5 MB, free: 42.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.322, allocations: 208.5 kB / 436.7 MB, free: 42.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004676/0.3225, allocations: 66.45 kB / 436.7 MB, free: 42.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.3239, allocations: 0.7276 MB / 437.5 MB, free: 41.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.3241, allocations: 0.7193 MB / 438.2 MB, free: 41.28 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9e-05/0.3242, allocations: 24.66 kB / 438.2 MB, free: 41.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.616e-05/0.3242, allocations: 36.67 kB / 438.2 MB, free: 41.25 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3242, allocations: 0 / 438.2 MB, free: 41.25 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04816/0.3724, allocations: 26.74 MB / 465 MB, free: 20.37 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/0.3726, allocations: 180.7 kB / 465.2 MB, free: 20.12 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/2.918, allocations: 0 / 465.2 MB, free: 20.12 MB / 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/linux/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) Environment - environmentSimulation: