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.0007318/0.0007318, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008236/0.0008236, allocations: 172.7 kB / 15.95 MB, free: 208 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.209/1.209, allocations: 205.4 MB / 222.1 MB, free: 5.363 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04144/0.04144, allocations: 9.057 MB / 279.5 MB, free: 12.12 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.0004828/0.0004828, allocations: 19.97 kB / 339.2 MB, free: 25.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08326/0.08375, allocations: 49.19 MB / 388.4 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01535/0.09915, allocations: 15.94 MB / 404.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01196/0.1112, allocations: 14.5 MB / 418.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.185e-05/0.1113, allocations: 4 kB / 418.9 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008402/0.1121, allocations: 318.6 kB / 419.2 MB, free: 9.773 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.1145, allocations: 1.114 MB / 420.3 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008935/0.1234, allocations: 3.412 MB / 423.7 MB, free: 5.242 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002039/0.1236, allocations: 143.2 kB / 423.8 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.561e-05/0.1237, allocations: 5.125 kB / 423.8 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1238, allocations: 67.59 kB / 423.9 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.1239, allocations: 47.8 kB / 424 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.809e-06/0.1239, allocations: 0 / 424 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.172/0.296, allocations: 7.179 MB / 431.1 MB, free: 19.83 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.2961, allocations: 14.19 kB / 431.2 MB, free: 19.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.778e-05/0.2961, allocations: 46.14 kB / 431.2 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003924/0.3001, allocations: 1.949 MB / 433.1 MB, free: 19.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3001, allocations: 4.531 kB / 433.2 MB, free: 19.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3001, allocations: 1 kB / 433.2 MB, free: 19.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.3001, allocations: 0 / 433.2 MB, free: 19.77 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.00171/0.3018, allocations: 0.7769 MB / 433.9 MB, free: 19.2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.3019, allocations: 9.5 kB / 433.9 MB, free: 19.2 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.608e-05/0.3019, allocations: 46.47 kB / 434 MB, free: 19.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/0.3023, allocations: 64.05 kB / 434 MB, free: 19.15 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.987e-05/0.3024, allocations: 171.2 kB / 434.2 MB, free: 18.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.3024, allocations: 10.23 kB / 434.2 MB, free: 18.95 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.3024, allocations: 8.25 kB / 434.2 MB, free: 18.95 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.3028, allocations: 254.3 kB / 434.5 MB, free: 18.92 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3028, allocations: 1.078 kB / 434.5 MB, free: 18.92 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.3028, allocations: 5 kB / 434.5 MB, free: 18.92 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.3028, allocations: 9.422 kB / 434.5 MB, free: 18.92 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.3033, allocations: 452.1 kB / 434.9 MB, free: 18.92 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.3036, allocations: 335 kB / 435.3 MB, free: 18.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003374/0.304, allocations: 278 kB / 435.5 MB, free: 18.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.3042, allocations: 250.7 kB / 435.8 MB, free: 18.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01224/0.3165, allocations: 9.797 MB / 445.6 MB, free: 9.91 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.3166, allocations: 33.89 kB / 445.6 MB, free: 9.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 2.505e-06/0.3166, allocations: 0.5938 kB / 445.6 MB, free: 9.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009164/0.3175, allocations: 0.667 MB / 446.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.3175, allocations: 55.53 kB / 446.3 MB, free: 9.758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.674e-05/0.3176, allocations: 102.4 kB / 446.4 MB, free: 9.656 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3176, allocations: 26.83 kB / 446.5 MB, free: 9.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.638e-05/0.3176, allocations: 84.05 kB / 446.5 MB, free: 9.543 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.3177, allocations: 132.6 kB / 446.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-06/0.3177, allocations: 2.25 kB / 446.7 MB, free: 9.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.3178, allocations: 325 kB / 447 MB, free: 9.141 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001858/0.318, allocations: 187.9 kB / 447.2 MB, free: 9.141 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/0.3181, allocations: 193.9 kB / 447.4 MB, free: 9.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.3183, allocations: 206.9 kB / 447.6 MB, free: 9.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3184, allocations: 0 / 447.6 MB, free: 9.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004689/0.3188, allocations: 0.4906 MB / 448.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.3189, allocations: 10.78 kB / 448.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3189, allocations: 1.125 kB / 448.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3189, allocations: 1.125 kB / 448.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.319, allocations: 23.83 kB / 448.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.319, allocations: 1.969 kB / 448.1 MB, free: 9.039 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.068e-05/0.3191, allocations: 28.42 kB / 448.1 MB, free: 9.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.3192, allocations: 7.328 kB / 448.1 MB, free: 9.02 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 6.767e-05/0.3192, allocations: 120.2 kB / 448.2 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.792e-05/0.3193, allocations: 9.156 kB / 448.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.3199, allocations: 0.6788 MB / 448.9 MB, free: 8.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3199, allocations: 9.188 kB / 448.9 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3199, allocations: 0 / 448.9 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3199, allocations: 1.281 kB / 448.9 MB, free: 8.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008451/0.3208, allocations: 0.9023 MB / 449.8 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.3208, allocations: 3.672 kB / 449.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.3209, allocations: 35.56 kB / 449.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.3209, allocations: 4.531 kB / 449.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.3209, allocations: 7.656 kB / 449.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.321, allocations: 5.812 kB / 449.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.321, allocations: 3.312 kB / 449.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.3213, allocations: 377.2 kB / 450.3 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.3213, allocations: 132.9 kB / 450.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.3214, allocations: 9.484 kB / 450.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.3215, allocations: 3.5 kB / 450.4 MB, free: 7.879 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.117e-05/0.3215, allocations: 19.89 kB / 450.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.54e-05/0.3216, allocations: 12.44 kB / 450.4 MB, free: 7.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3217, allocations: 173.6 kB / 450.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3217, allocations: 0 / 450.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002957/0.3247, allocations: 0.7393 MB / 451.4 MB, free: 7.672 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.003834/0.3285, allocations: 2.017 MB / 453.4 MB, free: 6.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004656/0.329, allocations: 338 kB / 453.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.329, allocations: 1.812 kB / 453.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.3291, allocations: 97.33 kB / 453.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004346/0.3296, allocations: 32.38 kB / 453.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.331, allocations: 0.8147 MB / 454.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.3312, allocations: 0.7099 MB / 455.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003867/0.3316, allocations: 286.5 kB / 455.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.193e-05/0.3316, allocations: 41.47 kB / 455.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3317, allocations: 0 / 455.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04543/0.3771, allocations: 27 MB / 482.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.3773, allocations: 193.5 kB / 482.9 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/2.799, allocations: 4 kB / 482.9 MB, free: 0.625 MB / 334.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: