Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.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.Parameter.State_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_dT_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter",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.0009166/0.0009166, allocations: 99.86 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.0008812/0.0008812, allocations: 177.3 kB / 15.94 MB, free: 228 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.258/1.258, allocations: 205.4 MB / 222.1 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04173/0.04173, allocations: 9.054 MB / 279.4 MB, free: 12.28 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.0004721/0.0004723, allocations: 19.92 kB / 339.2 MB, free: 25.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08088/0.08137, allocations: 49.17 MB / 388.4 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01602/0.09743, allocations: 14.42 MB / 402.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.1105, allocations: 13.17 MB / 416 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.1107, allocations: 4 kB / 416 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.1117, allocations: 334.8 kB / 416.3 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002749/0.1145, allocations: 1.103 MB / 417.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01156/0.126, allocations: 3.609 MB / 421 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002092/0.1263, allocations: 99.78 kB / 421.1 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.675e-05/0.1263, allocations: 9.109 kB / 421.1 MB, free: 7.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.1265, allocations: 75.7 kB / 421.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.838e-05/0.1266, allocations: 43.78 kB / 421.2 MB, free: 7.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.1266, allocations: 8 kB / 421.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1758/0.3024, allocations: 7.943 MB / 429.2 MB, free: 18.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.45e-05/0.3025, allocations: 15.39 kB / 429.2 MB, free: 18.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.3025, allocations: 48.05 kB / 429.2 MB, free: 18.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004526/0.3071, allocations: 1.851 MB / 431.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3071, allocations: 1.406 kB / 431.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.3071, allocations: 0 / 431.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.3071, allocations: 3.828 kB / 431.1 MB, free: 18.69 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001623/0.3087, allocations: 0.7711 MB / 431.9 MB, free: 18.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3088, allocations: 10.44 kB / 431.9 MB, free: 18.12 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.3088, allocations: 46.36 kB / 431.9 MB, free: 18.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/0.3092, allocations: 58.41 kB / 432 MB, free: 18.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.442e-05/0.3094, allocations: 175.6 kB / 432.1 MB, free: 17.87 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3094, allocations: 7.891 kB / 432.2 MB, free: 17.87 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.3094, allocations: 7.5 kB / 432.2 MB, free: 17.87 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.3097, allocations: 256.4 kB / 432.4 MB, free: 17.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3098, allocations: 2.797 kB / 432.4 MB, free: 17.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3098, allocations: 0 / 432.4 MB, free: 17.84 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.3098, allocations: 9.438 kB / 432.4 MB, free: 17.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.3103, allocations: 448.7 kB / 432.9 MB, free: 17.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.3107, allocations: 325.3 kB / 433.2 MB, free: 17.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003484/0.311, allocations: 281.3 kB / 433.5 MB, free: 17.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/0.3248, allocations: 9.839 MB / 443.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3249, allocations: 34.56 kB / 443.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 3.056e-06/0.3249, allocations: 0 / 443.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009452/0.3259, allocations: 0.8259 MB / 444.2 MB, free: 8.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.3259, allocations: 60.3 kB / 444.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.092e-05/0.326, allocations: 101.8 kB / 444.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.326, allocations: 29.33 kB / 444.3 MB, free: 8.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.84e-05/0.326, allocations: 80.8 kB / 444.4 MB, free: 8.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.52e-05/0.3261, allocations: 136.6 kB / 444.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.3261, allocations: 3.438 kB / 444.6 MB, free: 8.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.18e-05/0.3262, allocations: 322.4 kB / 444.9 MB, free: 7.895 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.3264, allocations: 189.2 kB / 445.1 MB, free: 7.895 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.3266, allocations: 187.1 kB / 445.2 MB, free: 7.895 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002242/0.3268, allocations: 214.2 kB / 445.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.3268, allocations: 1.219 kB / 445.5 MB, free: 7.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005259/0.3273, allocations: 491.6 kB / 445.9 MB, free: 7.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3274, allocations: 8.438 kB / 445.9 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3274, allocations: 0.625 kB / 445.9 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3274, allocations: 1 kB / 445.9 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.3276, allocations: 25.53 kB / 446 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-06/0.3276, allocations: 1.094 kB / 446 MB, free: 7.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.3277, allocations: 29.45 kB / 446 MB, free: 7.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.3277, allocations: 9.75 kB / 446 MB, free: 7.777 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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.958e-05/0.3278, allocations: 117.6 kB / 446.1 MB, free: 7.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3278, allocations: 14.05 kB / 446.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008174/0.3287, allocations: 0.6766 MB / 446.8 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3287, allocations: 6.734 kB / 446.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3287, allocations: 2.312 kB / 446.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.3287, allocations: 0 / 446.8 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009394/0.3296, allocations: 0.9105 MB / 447.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3297, allocations: 6.766 kB / 447.7 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3298, allocations: 36.05 kB / 447.8 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3298, allocations: 4.062 kB / 447.8 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.3298, allocations: 10.38 kB / 447.8 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.3298, allocations: 4.438 kB / 447.8 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.3298, allocations: 3.188 kB / 447.8 MB, free: 6.965 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.3302, allocations: 497.6 kB / 448.3 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.173e-05/0.3303, allocations: 127.4 kB / 448.4 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.3303, allocations: 4.125 kB / 448.4 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.3304, allocations: 8.75 kB / 448.4 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.3305, allocations: 21.06 kB / 448.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.3305, allocations: 12.81 kB / 448.4 MB, free: 6.461 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000119/0.3306, allocations: 175.5 kB / 448.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3306, allocations: 3.469 kB / 448.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003215/0.3339, allocations: 0.7436 MB / 449.4 MB, free: 6.254 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (12): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005139/0.339, allocations: 2.81 MB / 452.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004641/0.3395, allocations: 337.2 kB / 452.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.3395, allocations: 3.25 kB / 452.5 MB, free: 4.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.3396, allocations: 98.84 kB / 452.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.34, allocations: 42.33 kB / 452.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.3425, allocations: 0.8119 MB / 453.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.3427, allocations: 0.7173 MB / 454.2 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003874/0.3431, allocations: 286.2 kB / 454.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.641e-05/0.3432, allocations: 45.94 kB / 454.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3432, allocations: 0 / 454.5 MB, free: 3.281 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04901/0.3922, allocations: 26.98 MB / 481.5 MB, free: 72 kB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/0.3925, allocations: 181.3 kB / 481.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.78, allocations: 0 / 481.7 MB, free: 15.83 MB / 350.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_dT_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_dT_parameter.pipe 2>&1) Environment - environmentSimulation: