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.001005/0.001005, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001128/0.001128, allocations: 168.7 kB / 15.95 MB, free: 204 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.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.06327/0.06327, allocations: 9.077 MB / 279.5 MB, free: 12.25 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.0004812/0.0004813, allocations: 15.98 kB / 339.2 MB, free: 25.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0814/0.08189, allocations: 49.19 MB / 388.4 MB, free: 8.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Validation.idealGasLimit): time 0.01933/0.1013, allocations: 15.89 MB / 404.3 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008746/0.1101, allocations: 8.717 MB / 413 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.1102, allocations: 0 / 413 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009469/0.1111, allocations: 310.5 kB / 413.3 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009172/0.1203, allocations: 3.492 MB / 416.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.476e-05/0.1204, allocations: 0 / 416.8 MB, free: 12.14 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.1206, allocations: 139.1 kB / 417 MB, free: 12.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.449e-05/0.1207, allocations: 9.125 kB / 417 MB, free: 12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1209, allocations: 59.67 kB / 417 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.829e-05/0.121, allocations: 43.73 kB / 417.1 MB, free: 11.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.121, allocations: 4 kB / 417.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0125/0.1335, allocations: 6.423 MB / 423.5 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.697e-05/0.1336, allocations: 11.94 kB / 423.5 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.1337, allocations: 45.64 kB / 423.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003708/0.1374, allocations: 1.785 MB / 425.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1374, allocations: 0 / 425.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1374, allocations: 0 / 425.3 MB, free: 3.605 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.1374, allocations: 4 kB / 425.3 MB, free: 3.602 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.001538/0.139, allocations: 0.6784 MB / 426 MB, free: 2.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.139, allocations: 8.031 kB / 426 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.1391, allocations: 46.55 kB / 426.1 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.1392, allocations: 23.84 kB / 426.1 MB, free: 2.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.1393, allocations: 178.8 kB / 426.3 MB, free: 2.574 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1393, allocations: 8 kB / 426.3 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.1394, allocations: 7.938 kB / 426.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.1396, allocations: 178.6 kB / 426.5 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1396, allocations: 11.94 kB / 426.5 MB, free: 2.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1396, allocations: 7.938 kB / 426.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1397, allocations: 3.984 kB / 426.5 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.1399, allocations: 244.2 kB / 426.7 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.1402, allocations: 286.6 kB / 427 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1404, allocations: 218.8 kB / 427.2 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.1406, allocations: 189.1 kB / 427.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1784/0.3191, allocations: 4.157 MB / 431.6 MB, free: 44.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.3191, allocations: 37.3 kB / 431.6 MB, free: 44.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=39): time 2.304e-06/0.3191, allocations: 0 / 431.6 MB, free: 44.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=39): time 0.0007232/0.3199, allocations: 490.9 kB / 432.1 MB, free: 44.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.3199, allocations: 55.5 kB / 432.1 MB, free: 44.32 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.661e-05/0.32, allocations: 104.3 kB / 432.2 MB, free: 44.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.32, allocations: 28.95 kB / 432.3 MB, free: 44.2 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.43e-05/0.32, allocations: 81.77 kB / 432.3 MB, free: 44.11 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.499e-05/0.3201, allocations: 125.2 kB / 432.5 MB, free: 44.03 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/0.3201, allocations: 4.469 kB / 432.5 MB, free: 44.03 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.3202, allocations: 325.3 kB / 432.8 MB, free: 43.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3203, allocations: 119.2 kB / 432.9 MB, free: 43.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.3205, allocations: 142.3 kB / 433 MB, free: 43.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001784/0.3207, allocations: 124.7 kB / 433.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3207, allocations: 0 / 433.2 MB, free: 43.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004012/0.3211, allocations: 322.6 kB / 433.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.3211, allocations: 8.609 kB / 433.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.3211, allocations: 2.797 kB / 433.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3212, allocations: 1.031 kB / 433.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.3213, allocations: 21.62 kB / 433.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3213, allocations: 2.047 kB / 433.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.3214, allocations: 16.91 kB / 433.5 MB, free: 43.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.3214, allocations: 6.438 kB / 433.5 MB, free: 43.64 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 7.985e-05/0.3215, allocations: 123.5 kB / 433.7 MB, free: 43.53 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3215, allocations: 13.16 kB / 433.7 MB, free: 43.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005915/0.3221, allocations: 385.6 kB / 434 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.3221, allocations: 6.578 kB / 434.1 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3222, allocations: 0.6562 kB / 434.1 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3222, allocations: 0.7031 kB / 434.1 MB, free: 43.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002625/0.3224, allocations: 297.5 kB / 434.3 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3225, allocations: 2.156 kB / 434.3 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.84e-05/0.3225, allocations: 27.61 kB / 434.4 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.3226, allocations: 5.109 kB / 434.4 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3226, allocations: 3.266 kB / 434.4 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3226, allocations: 1.219 kB / 434.4 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3226, allocations: 1.719 kB / 434.4 MB, free: 43.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.323, allocations: 429.4 kB / 434.8 MB, free: 42.98 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.323, allocations: 105.8 kB / 434.9 MB, free: 42.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3231, allocations: 12.23 kB / 434.9 MB, free: 42.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.3232, allocations: 1.938 kB / 434.9 MB, free: 42.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.3232, allocations: 8.625 kB / 434.9 MB, free: 42.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.3232, allocations: 9.906 kB / 434.9 MB, free: 42.86 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.272e-05/0.3232, allocations: 78.72 kB / 435 MB, free: 42.78 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3232, allocations: 0 / 435 MB, free: 42.78 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001854/0.3251, allocations: 0.6133 MB / 435.6 MB, free: 42.75 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.003174/0.3283, allocations: 1.843 MB / 437.5 MB, free: 41.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004246/0.3287, allocations: 334.7 kB / 437.8 MB, free: 41.68 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3287, allocations: 0.625 kB / 437.8 MB, free: 41.68 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.3289, allocations: 208.6 kB / 438 MB, free: 41.56 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.3295, allocations: 74.14 kB / 438.1 MB, free: 41.54 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.3308, allocations: 0.7201 MB / 438.8 MB, free: 41.12 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001417/0.3309, allocations: 0.7219 MB / 439.5 MB, free: 40.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.331, allocations: 22.38 kB / 439.5 MB, free: 40.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.262e-05/0.3311, allocations: 40.69 kB / 439.6 MB, free: 40.38 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3311, allocations: 0 / 439.6 MB, free: 40.38 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/0.3771, allocations: 26.78 MB / 466.4 MB, free: 19.06 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/0.3773, allocations: 193.7 kB / 466.6 MB, free: 18.81 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.134, allocations: 0 / 466.6 MB, free: 18.81 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: