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.007258/0.007258, allocations: 101.9 kB / 15.73 MB, free: 6.016 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.001964/0.001964, allocations: 185 kB / 16.67 MB, free: 5.949 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.357/1.357, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04607/0.04607, allocations: 9.1 MB / 279 MB, free: 12.07 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.001625/0.001625, allocations: 70.39 kB / 387 MB, free: 8.539 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2797, allocations: 48.16 MB / 435.1 MB, free: 7.18 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01972/0.2995, allocations: 17.26 MB / 452.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.3138, allocations: 15.54 MB / 467.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.314, allocations: 0 / 467.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.3151, allocations: 380.5 kB / 468.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003427/0.3186, allocations: 1.284 MB / 469.6 MB, free: 12.89 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.01176/0.3303, allocations: 4.408 MB / 474 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.3306, allocations: 152.3 kB / 474.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.3306, allocations: 13.12 kB / 474.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.3308, allocations: 59.67 kB / 474.2 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.3309, allocations: 59.7 kB / 474.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.3309, allocations: 0 / 474.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01616/0.3471, allocations: 8.589 MB / 482.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.3471, allocations: 15.92 kB / 482.9 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.722e-05/0.3473, allocations: 51.69 kB / 482.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008054/0.3553, allocations: 3.489 MB / 486.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3553, allocations: 0 / 486.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3554, allocations: 0 / 486.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3554, allocations: 0 / 486.4 MB, free: 13.38 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.00143/0.3568, allocations: 0.7991 MB / 487.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.3569, allocations: 8.031 kB / 487.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.3569, allocations: 54.48 kB / 487.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.3573, allocations: 55.75 kB / 487.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.3574, allocations: 182.8 kB / 487.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.3575, allocations: 8 kB / 487.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.3575, allocations: 4 kB / 487.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.3578, allocations: 257.3 kB / 487.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3579, allocations: 0 / 487.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.3579, allocations: 4 kB / 487.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.3579, allocations: 8 kB / 487.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005161/0.3584, allocations: 459.5 kB / 488.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.3588, allocations: 334.4 kB / 488.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.3591, allocations: 278.4 kB / 488.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.3594, allocations: 248.8 kB / 489.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01604/0.3754, allocations: 10.02 MB / 499.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.3755, allocations: 38.56 kB / 499.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.965e-06/0.3755, allocations: 0 / 499.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009459/0.3765, allocations: 0.6658 MB / 499.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.3765, allocations: 55.34 kB / 499.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.527e-05/0.3766, allocations: 105.7 kB / 499.9 MB, free: 13.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3766, allocations: 29.7 kB / 500 MB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.3767, allocations: 80.8 kB / 0.4883 GB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.3768, allocations: 134.1 kB / 0.4885 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.208e-05/0.3769, allocations: 53.69 kB / 0.4885 GB, free: 13.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.377, allocations: 318.8 kB / 0.4888 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.3773, allocations: 187.9 kB / 0.489 GB, free: 13.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.3775, allocations: 193 kB / 0.4892 GB, free: 12.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.378, allocations: 443.6 kB / 0.4896 GB, free: 12.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.378, allocations: 0 / 0.4896 GB, free: 12.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005887/0.3786, allocations: 0.4921 MB / 0.4901 GB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3786, allocations: 4 kB / 0.4901 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3786, allocations: 0 / 0.4901 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3786, allocations: 0 / 0.4901 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3788, allocations: 23.98 kB / 0.4901 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3788, allocations: 0 / 0.4901 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.3789, allocations: 27.67 kB / 0.4901 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.3789, allocations: 4 kB / 0.4901 GB, free: 11.93 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.0001031/0.3791, allocations: 117.8 kB / 0.4903 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.874e-05/0.3791, allocations: 15.81 kB / 0.4903 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007829/0.3799, allocations: 0.6825 MB / 0.4909 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.3799, allocations: 0 / 0.4909 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3799, allocations: 0 / 0.4909 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3799, allocations: 3.938 kB / 0.4909 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.381, allocations: 0.9045 MB / 0.4918 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.381, allocations: 0 / 0.4918 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.3811, allocations: 32.25 kB / 0.4919 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3811, allocations: 8 kB / 0.4919 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.3812, allocations: 8 kB / 0.4919 GB, free: 9.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3812, allocations: 7.984 kB / 0.4919 GB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.3812, allocations: 4 kB / 0.4919 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.3816, allocations: 371.7 kB / 0.4922 GB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.3817, allocations: 88.95 kB / 0.4923 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.3817, allocations: 19.84 kB / 0.4923 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3818, allocations: 11.98 kB / 0.4923 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.3819, allocations: 27.8 kB / 0.4924 GB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3819, allocations: 4 kB / 0.4924 GB, free: 9.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.3821, allocations: 175.2 kB / 0.4925 GB, free: 9.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3821, allocations: 0 / 0.4925 GB, free: 9.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001887/0.384, allocations: 0.7418 MB / 0.4933 GB, free: 8.461 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.004054/0.388, allocations: 2.006 MB / 0.4952 GB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004834/0.3885, allocations: 347.8 kB / 0.4956 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3885, allocations: 0 / 0.4956 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3887, allocations: 95.81 kB / 0.4957 GB, free: 5.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006174/0.3893, allocations: 92.45 kB / 0.4957 GB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.3929, allocations: 3.076 MB / 0.4987 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002614/0.3932, allocations: 0.7084 MB / 0.4994 GB, free: 1.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000366/0.3936, allocations: 291.8 kB / 0.4997 GB, free: 1.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.287e-05/0.3937, allocations: 43.41 kB / 0.4998 GB, free: 1.586 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3937, allocations: 4 kB / 0.4998 GB, free: 1.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0556/0.4493, allocations: 28.36 MB / 0.5275 GB, free: 5.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/9.006, allocations: 11.73 kB / 0.5275 GB, free: 5.211 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)