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.0007452/0.0007453, allocations: 91.45 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.004655/0.004655, allocations: 169.8 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.283/1.283, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.0455/0.0455, allocations: 9.059 MB / 279.8 MB, free: 12.38 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.0005118/0.0005121, allocations: 16 kB / 339.8 MB, free: 25.55 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07689/0.07741, allocations: 49.18 MB / 389 MB, free: 8.324 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01749/0.09494, allocations: 17 MB / 406 MB, free: 7.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01456/0.1095, allocations: 15.6 MB / 421.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.397e-05/0.1097, allocations: 0 / 421.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009505/0.1106, allocations: 347.7 kB / 422 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.1131, allocations: 1.126 MB / 423.1 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009623/0.1227, allocations: 3.683 MB / 426.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001961/0.123, allocations: 143.3 kB / 426.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.123, allocations: 17.02 kB / 426.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.1232, allocations: 59.72 kB / 427 MB, free: 2.227 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.008e-05/0.1232, allocations: 47.73 kB / 427 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1233, allocations: 3.938 kB / 427 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1775/0.3008, allocations: 7.969 MB / 435 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.3009, allocations: 16.52 kB / 435 MB, free: 18.12 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.301, allocations: 79.91 kB / 435.1 MB, free: 18.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007572/0.3085, allocations: 3.359 MB / 438.5 MB, free: 18.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3086, allocations: 0.8125 kB / 438.5 MB, free: 18.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3086, allocations: 1.188 kB / 438.5 MB, free: 18.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.3086, allocations: 1.469 kB / 438.5 MB, free: 18.04 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.002136/0.3107, allocations: 0.7768 MB / 439.2 MB, free: 17.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3108, allocations: 8.875 kB / 439.3 MB, free: 17.47 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.775e-05/0.3108, allocations: 49.34 kB / 439.3 MB, free: 17.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004071/0.3113, allocations: 58.92 kB / 439.4 MB, free: 17.42 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.992e-05/0.3114, allocations: 171.1 kB / 439.5 MB, free: 17.22 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.3114, allocations: 9.438 kB / 439.5 MB, free: 17.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3114, allocations: 5.562 kB / 439.5 MB, free: 17.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.3117, allocations: 259.9 kB / 439.8 MB, free: 17.19 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3117, allocations: 0 / 439.8 MB, free: 17.19 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3118, allocations: 3 kB / 439.8 MB, free: 17.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.547e-06/0.3118, allocations: 10.88 kB / 439.8 MB, free: 17.19 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005818/0.3124, allocations: 443.6 kB / 440.2 MB, free: 17.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002755/0.3127, allocations: 340.1 kB / 440.6 MB, free: 16.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.313, allocations: 273.5 kB / 440.8 MB, free: 16.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.3132, allocations: 247 kB / 441.1 MB, free: 16.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01323/0.3264, allocations: 9.806 MB / 450.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3265, allocations: 31.22 kB / 450.9 MB, free: 8.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 1.974e-06/0.3265, allocations: 2.281 kB / 450.9 MB, free: 8.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0008238/0.3273, allocations: 0.6687 MB / 451.6 MB, free: 8.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.3274, allocations: 59.03 kB / 451.6 MB, free: 8.066 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.502e-05/0.3274, allocations: 105.7 kB / 451.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.3275, allocations: 27.14 kB / 451.8 MB, free: 7.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.926e-05/0.3275, allocations: 86.08 kB / 451.9 MB, free: 7.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.735e-05/0.3276, allocations: 131.1 kB / 452 MB, free: 7.762 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.474e-05/0.3276, allocations: 31.39 kB / 452 MB, free: 7.746 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.385e-05/0.3277, allocations: 318.8 kB / 452.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.3279, allocations: 193.5 kB / 452.5 MB, free: 7.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.3281, allocations: 186.1 kB / 452.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003916/0.3285, allocations: 452.1 kB / 453.1 MB, free: 7.383 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3285, allocations: 3.938 kB / 453.1 MB, free: 7.383 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004936/0.329, allocations: 491.7 kB / 453.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.329, allocations: 4.562 kB / 453.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.329, allocations: 0 / 453.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.329, allocations: 4.891 kB / 453.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.3292, allocations: 32.69 kB / 453.7 MB, free: 7.309 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.3292, allocations: 5.844 kB / 453.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.54e-05/0.3293, allocations: 20.28 kB / 453.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.3293, allocations: 11.72 kB / 453.7 MB, free: 7.289 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.703e-05/0.3294, allocations: 113.6 kB / 453.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.3294, allocations: 9.906 kB / 453.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007173/0.3302, allocations: 0.6743 MB / 454.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.3302, allocations: 1.781 kB / 454.5 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3302, allocations: 7.922 kB / 454.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.3302, allocations: 1.812 kB / 454.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009001/0.3311, allocations: 0.9038 MB / 455.4 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.3311, allocations: 5.375 kB / 455.4 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3312, allocations: 34.69 kB / 455.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3312, allocations: 3.094 kB / 455.5 MB, free: 6.266 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.3313, allocations: 12.06 kB / 455.5 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.3313, allocations: 6.562 kB / 455.5 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.3313, allocations: 5.375 kB / 455.5 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.3316, allocations: 375 kB / 455.8 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.215e-05/0.3317, allocations: 122.9 kB / 456 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.3317, allocations: 13.62 kB / 456 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.3319, allocations: 12.17 kB / 456 MB, free: 5.883 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.3319, allocations: 17.33 kB / 456 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.3319, allocations: 9.531 kB / 456 MB, free: 5.875 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3321, allocations: 181.7 kB / 456.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3321, allocations: 0 / 456.2 MB, free: 5.781 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002462/0.3345, allocations: 0.736 MB / 456.9 MB, free: 5.629 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 (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.003222/0.3378, allocations: 2.013 MB / 458.9 MB, free: 4.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004288/0.3382, allocations: 351.4 kB / 459.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3382, allocations: 0 / 459.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3384, allocations: 90.27 kB / 459.4 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.339, allocations: 85.31 kB / 459.5 MB, free: 4.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.3419, allocations: 3.13 MB / 462.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.3422, allocations: 0.7095 MB / 463.3 MB, free: 17.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003261/0.3426, allocations: 295.5 kB / 463.6 MB, free: 17.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.698e-05/0.3427, allocations: 48.2 kB / 463.6 MB, free: 17.76 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3427, allocations: 0 / 463.6 MB, free: 17.76 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04731/0.39, allocations: 27.99 MB / 491.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.3902, allocations: 204.3 kB / 491.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.572/2.962, allocations: 4.062 kB / 491.8 MB, free: 7.848 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/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)