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.00579/0.00579, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001513/0.001513, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.368/1.368, allocations: 205.1 MB / 222.6 MB, free: 4.457 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.05163/0.05163, allocations: 9.103 MB / 279 MB, free: 12.04 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.002042/0.002042, allocations: 70.97 kB / 387 MB, free: 8.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2716, allocations: 48.16 MB / 435.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01807/0.2897, allocations: 17.26 MB / 452.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.3054, allocations: 15.54 MB / 467.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.3056, allocations: 0 / 467.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.3067, allocations: 392.4 kB / 468.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.3099, allocations: 1.272 MB / 469.6 MB, free: 12.88 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.01156/0.3214, allocations: 4.416 MB / 474 MB, free: 9.781 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.3217, allocations: 154.5 kB / 474.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.3218, allocations: 9.062 kB / 474.2 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3219, allocations: 71.64 kB / 474.2 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.772e-05/0.322, allocations: 43.73 kB / 474.3 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.322, allocations: 4 kB / 474.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0159/0.3379, allocations: 8.593 MB / 482.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.511e-05/0.338, allocations: 11.94 kB / 482.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.3381, allocations: 59.66 kB / 482.9 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009398/0.3475, allocations: 3.499 MB / 486.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3476, allocations: 0 / 486.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3476, allocations: 0 / 486.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3476, allocations: 0 / 486.4 MB, free: 13.35 MB / 366.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.001765/0.3494, allocations: 0.8154 MB / 487.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3494, allocations: 12.02 kB / 487.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/0.3495, allocations: 50.55 kB / 487.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004191/0.3499, allocations: 55.84 kB / 487.4 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.3501, allocations: 174.9 kB / 487.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.3501, allocations: 4 kB / 487.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.3502, allocations: 4 kB / 487.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.3506, allocations: 265.3 kB / 487.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.3506, allocations: 4 kB / 487.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.3506, allocations: 4 kB / 487.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3506, allocations: 7.984 kB / 487.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005789/0.3512, allocations: 459.5 kB / 488.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.3516, allocations: 342.3 kB / 488.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000377/0.352, allocations: 270.5 kB / 488.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/0.3523, allocations: 252.8 kB / 489.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01718/0.3695, allocations: 10.01 MB / 499.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/0.3695, allocations: 34.56 kB / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.264e-06/0.3696, allocations: 0 / 499.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.001027/0.3706, allocations: 0.6657 MB / 499.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.3706, allocations: 55.53 kB / 499.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.66e-05/0.3707, allocations: 97.8 kB / 500 MB, free: 13.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.3708, allocations: 25.7 kB / 500 MB, free: 13.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.3708, allocations: 92.91 kB / 0.4884 GB, free: 13.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.3709, allocations: 138.7 kB / 0.4885 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.371, allocations: 49.69 kB / 0.4885 GB, free: 13.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.3712, allocations: 326.8 kB / 0.4889 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.3714, allocations: 187.9 kB / 0.489 GB, free: 13.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.3717, allocations: 192.9 kB / 0.4892 GB, free: 12.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/0.3722, allocations: 443.6 kB / 0.4896 GB, free: 12.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3722, allocations: 8 kB / 0.4896 GB, free: 12.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006651/0.3729, allocations: 491.9 kB / 0.4901 GB, free: 11.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3729, allocations: 8 kB / 0.4901 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.3729, allocations: 0 / 0.4901 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.373, allocations: 0 / 0.4901 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3731, allocations: 27.97 kB / 0.4902 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.3731, allocations: 4 kB / 0.4902 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.192e-05/0.3732, allocations: 19.83 kB / 0.4902 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.3733, allocations: 7.984 kB / 0.4902 GB, free: 11.87 MB / 382.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 0.0001207/0.3734, allocations: 125.8 kB / 0.4903 GB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.3734, allocations: 11.91 kB / 0.4903 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008833/0.3743, allocations: 0.6749 MB / 0.491 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.3743, allocations: 4 kB / 0.491 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3743, allocations: 0 / 0.491 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.3744, allocations: 7.922 kB / 0.491 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.3756, allocations: 0.9048 MB / 0.4919 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3756, allocations: 4 kB / 0.4919 GB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.3757, allocations: 35.91 kB / 0.4919 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3757, allocations: 0 / 0.4919 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.3757, allocations: 12 kB / 0.4919 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3757, allocations: 0 / 0.4919 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.3758, allocations: 7.938 kB / 0.4919 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.3762, allocations: 379.8 kB / 0.4923 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.3763, allocations: 85.09 kB / 0.4924 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.3764, allocations: 15.84 kB / 0.4924 GB, free: 9.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.3765, allocations: 8 kB / 0.4924 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.3765, allocations: 15.92 kB / 0.4924 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.3766, allocations: 15.98 kB / 0.4924 GB, free: 9.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.3767, allocations: 171.2 kB / 0.4926 GB, free: 9.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3768, allocations: 4 kB / 0.4926 GB, free: 9.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002005/0.3788, allocations: 0.7554 MB / 0.4933 GB, free: 8.391 MB / 382.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.004009/0.3828, allocations: 2.02 MB / 0.4953 GB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005771/0.3834, allocations: 343.7 kB / 0.4956 GB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3834, allocations: 0 / 0.4956 GB, free: 5.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.3836, allocations: 91.83 kB / 0.4957 GB, free: 5.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000639/0.3842, allocations: 92.23 kB / 0.4958 GB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.3884, allocations: 3.114 MB / 0.4988 GB, free: 2.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.3887, allocations: 0.7045 MB / 0.4995 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004072/0.3891, allocations: 291.9 kB / 0.4998 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.595e-05/0.3892, allocations: 47.42 kB / 0.4999 GB, free: 1.473 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3893, allocations: 0 / 0.4999 GB, free: 1.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06269/0.4519, allocations: 28.28 MB / 0.5275 GB, free: 5.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.771/9.223, allocations: 15.8 kB / 0.5275 GB, free: 5.172 MB / 414.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)