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.001329/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001712/0.001712, allocations: 196.7 kB / 16.14 MB, free: 6.66 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.42/1.42, allocations: 205.1 MB / 222 MB, free: 4.719 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04621/0.04621, allocations: 9.081 MB / 278.4 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.001358/0.001358, allocations: 63.91 kB / 337.4 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08367/0.08503, allocations: 48.17 MB / 385.6 MB, free: 9.574 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01819/0.1033, allocations: 17.5 MB / 403.1 MB, free: 7.988 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.1167, allocations: 15.77 MB / 418.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.764e-05/0.1168, allocations: 0 / 418.9 MB, free: 8.168 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.1179, allocations: 359.6 kB / 419.2 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002599/0.1205, allocations: 1.118 MB / 420.3 MB, free: 6.695 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.1306, allocations: 3.679 MB / 424 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1308, allocations: 143.2 kB / 424.2 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.1309, allocations: 13.08 kB / 424.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.131, allocations: 59.67 kB / 424.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.396e-05/0.1311, allocations: 47.72 kB / 424.3 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1311, allocations: 4 kB / 424.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.187/0.3182, allocations: 7.971 MB / 432.3 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.3183, allocations: 17.52 kB / 432.3 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3184, allocations: 52.84 kB / 432.3 MB, free: 18.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008512/0.3269, allocations: 3.367 MB / 435.7 MB, free: 18.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.3269, allocations: 0 / 435.7 MB, free: 18.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.327, allocations: 2.125 kB / 435.7 MB, free: 18.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.327, allocations: 0 / 435.7 MB, free: 18.33 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.001512/0.3285, allocations: 0.7863 MB / 436.5 MB, free: 17.76 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3285, allocations: 13.86 kB / 436.5 MB, free: 17.76 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.653e-05/0.3286, allocations: 45.5 kB / 436.5 MB, free: 17.72 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003914/0.329, allocations: 56.55 kB / 436.6 MB, free: 17.71 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.305e-05/0.3291, allocations: 182.7 kB / 436.8 MB, free: 17.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.3291, allocations: 10.41 kB / 436.8 MB, free: 17.51 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.3291, allocations: 4.031 kB / 436.8 MB, free: 17.51 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.3295, allocations: 257 kB / 437 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.3295, allocations: 0 / 437 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3295, allocations: 1.062 kB / 437 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.3295, allocations: 9.453 kB / 437.1 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.33, allocations: 455.4 kB / 437.5 MB, free: 17.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.3303, allocations: 328.8 kB / 437.8 MB, free: 17.28 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.3307, allocations: 274.6 kB / 438.1 MB, free: 17.26 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.331, allocations: 242.2 kB / 438.3 MB, free: 17.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01482/0.3458, allocations: 10.02 MB / 448.3 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.3459, allocations: 38.38 kB / 448.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 2.344e-06/0.3459, allocations: 2.625 kB / 448.4 MB, free: 8.449 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009244/0.3468, allocations: 0.6672 MB / 449.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.3469, allocations: 54.84 kB / 449.1 MB, free: 8.336 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.3469, allocations: 101.8 kB / 449.2 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3469, allocations: 25.7 kB / 449.2 MB, free: 8.203 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.347, allocations: 86.12 kB / 449.3 MB, free: 8.121 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.3471, allocations: 138.5 kB / 449.5 MB, free: 8.031 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.3471, allocations: 45.56 kB / 449.5 MB, free: 8.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.143e-05/0.3472, allocations: 325.1 kB / 449.8 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.3474, allocations: 190.3 kB / 450 MB, free: 7.703 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.3476, allocations: 188.8 kB / 450.2 MB, free: 7.703 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004305/0.348, allocations: 451.3 kB / 450.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.348, allocations: 0 / 450.6 MB, free: 7.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005177/0.3486, allocations: 497.2 kB / 451.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3486, allocations: 8.094 kB / 451.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3486, allocations: 0 / 451.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.3486, allocations: 0 / 451.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.3488, allocations: 21.56 kB / 451.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.3488, allocations: 9.188 kB / 451.1 MB, free: 7.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3489, allocations: 25.88 kB / 451.2 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.3489, allocations: 2.531 kB / 451.2 MB, free: 7.562 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 7.629e-05/0.349, allocations: 129.7 kB / 451.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.3491, allocations: 13.88 kB / 451.3 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006805/0.3497, allocations: 0.662 MB / 452 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.3498, allocations: 0 / 452 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3498, allocations: 5.531 kB / 452 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.3498, allocations: 0 / 452 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009616/0.3507, allocations: 0.9143 MB / 452.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.3508, allocations: 2.094 kB / 452.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.3509, allocations: 30.03 kB / 452.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3509, allocations: 3.719 kB / 452.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.3509, allocations: 9.75 kB / 452.9 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.3509, allocations: 10.84 kB / 453 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3509, allocations: 2.969 kB / 453 MB, free: 6.75 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.3514, allocations: 377.4 kB / 453.3 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/0.3514, allocations: 88.77 kB / 453.4 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.3515, allocations: 14.81 kB / 453.4 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.3516, allocations: 10.94 kB / 453.4 MB, free: 6.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.3517, allocations: 21.36 kB / 453.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.3517, allocations: 10.38 kB / 453.5 MB, free: 6.414 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001345/0.3518, allocations: 177.4 kB / 453.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3518, allocations: 0 / 453.6 MB, free: 6.332 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.003072/0.3549, allocations: 0.7439 MB / 454.4 MB, free: 6.203 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.003709/0.3586, allocations: 2.016 MB / 456.4 MB, free: 5.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004108/0.359, allocations: 341.1 kB / 456.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3591, allocations: 2.219 kB / 456.7 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3592, allocations: 99.28 kB / 456.8 MB, free: 5.199 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.3598, allocations: 82.83 kB / 456.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.3628, allocations: 3.097 MB / 460 MB, free: 3.367 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.3631, allocations: 0.7048 MB / 460.7 MB, free: 18.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003575/0.3635, allocations: 294.5 kB / 461 MB, free: 18.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.3635, allocations: 47.91 kB / 461 MB, free: 18.51 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3636, allocations: 0 / 461 MB, free: 18.51 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0477/0.4113, allocations: 28.09 MB / 489.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.4114, allocations: 205.3 kB / 489.3 MB, free: 8.641 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.719/3.13, allocations: 0 / 489.3 MB, free: 8.641 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)