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.005372/0.005372, allocations: 101.5 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.001214/0.001214, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.422/1.422, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04629/0.04629, allocations: 9.104 MB / 279 MB, free: 12.06 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.001576/0.001577, allocations: 70.39 kB / 387 MB, free: 8.535 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2541/0.2557, allocations: 48.16 MB / 435.1 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.01766/0.2734, allocations: 17.27 MB / 452.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01453/0.288, allocations: 15.54 MB / 467.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.2882, allocations: 1.094 kB / 467.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.2896, allocations: 388.8 kB / 468.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.2931, allocations: 1.275 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.01365/0.3068, allocations: 4.416 MB / 474 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.3071, allocations: 153.1 kB / 474.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.27e-05/0.3071, allocations: 13.11 kB / 474.2 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.3073, allocations: 67.64 kB / 474.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.695e-05/0.3074, allocations: 43.73 kB / 474.3 MB, free: 9.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.3074, allocations: 4 kB / 474.3 MB, free: 9.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01549/0.3229, allocations: 8.597 MB / 482.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.323, allocations: 11.94 kB / 482.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.3231, allocations: 59.66 kB / 482.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.334, allocations: 3.488 MB / 486.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.334, allocations: 4 kB / 486.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.334, allocations: 0 / 486.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.334, allocations: 0 / 486.4 MB, free: 13.36 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.001611/0.3356, allocations: 0.7914 MB / 487.2 MB, free: 12.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3357, allocations: 12.03 kB / 487.2 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.633e-05/0.3358, allocations: 46.55 kB / 487.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/0.3362, allocations: 59.73 kB / 487.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3363, allocations: 178.8 kB / 487.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.72e-05/0.3364, allocations: 8 kB / 487.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.809e-05/0.3364, allocations: 4 kB / 487.5 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.3368, allocations: 257.3 kB / 487.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3368, allocations: 4 kB / 487.8 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.3368, allocations: 4 kB / 487.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3368, allocations: 7.984 kB / 487.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.3373, allocations: 451.5 kB / 488.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.3377, allocations: 334.4 kB / 488.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.338, allocations: 270.5 kB / 488.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.3383, allocations: 252.8 kB / 489.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01667/0.355, allocations: 10.02 MB / 499.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.355, allocations: 30.56 kB / 499.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=41): time 2.514e-06/0.3551, allocations: 0 / 499.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009386/0.356, allocations: 0.6696 MB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.3561, allocations: 51.41 kB / 499.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.812e-05/0.3561, allocations: 105.7 kB / 499.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3562, allocations: 25.7 kB / 500 MB, free: 13.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.3562, allocations: 92.84 kB / 0.4883 GB, free: 13.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.3563, allocations: 134 kB / 0.4885 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.709e-05/0.3564, allocations: 41.69 kB / 0.4885 GB, free: 13.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3565, allocations: 326.8 kB / 0.4888 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.3568, allocations: 191.9 kB / 0.489 GB, free: 13.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002315/0.357, allocations: 189 kB / 0.4892 GB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.3575, allocations: 451.6 kB / 0.4896 GB, free: 12.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3575, allocations: 4 kB / 0.4896 GB, free: 12.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006182/0.3582, allocations: 491.9 kB / 0.4901 GB, free: 11.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.667e-05/0.3582, allocations: 4 kB / 0.4901 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3582, allocations: 0 / 0.4901 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3583, allocations: 0 / 0.4901 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001717/0.3584, allocations: 27.98 kB / 0.4901 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3585, allocations: 3.984 kB / 0.4901 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3586, allocations: 23.69 kB / 0.4901 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.3586, 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.0001161/0.3587, allocations: 125.8 kB / 0.4903 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.39e-05/0.3588, allocations: 11.81 kB / 0.4903 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008534/0.3596, allocations: 0.6786 MB / 0.4909 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.3596, allocations: 0 / 0.4909 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3596, allocations: 0 / 0.4909 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3597, allocations: 3.938 kB / 0.4909 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.3608, allocations: 0.9048 MB / 0.4918 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.3608, allocations: 4 kB / 0.4918 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.3609, allocations: 31.92 kB / 0.4919 GB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.3609, allocations: 4 kB / 0.4919 GB, free: 9.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3609, allocations: 11.98 kB / 0.4919 GB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.3609, allocations: 7.984 kB / 0.4919 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.361, allocations: 7.938 kB / 0.4919 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.3614, allocations: 375.7 kB / 0.4922 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.3615, allocations: 88.95 kB / 0.4923 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.3615, allocations: 19.83 kB / 0.4923 GB, free: 9.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3617, allocations: 11.98 kB / 0.4924 GB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.3617, allocations: 11.92 kB / 0.4924 GB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.3617, allocations: 12 kB / 0.4924 GB, free: 9.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.3619, allocations: 175.2 kB / 0.4925 GB, free: 9.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3619, allocations: 4 kB / 0.4925 GB, free: 9.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002016/0.3639, allocations: 0.7418 MB / 0.4933 GB, free: 8.453 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.004956/0.3689, allocations: 2.002 MB / 0.4952 GB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005245/0.3694, allocations: 347.8 kB / 0.4956 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3694, allocations: 0 / 0.4956 GB, free: 6.051 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.3696, allocations: 91.81 kB / 0.4956 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.0006295/0.3702, allocations: 88.47 kB / 0.4957 GB, free: 5.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.3745, allocations: 3.084 MB / 0.4987 GB, free: 2.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.3748, allocations: 0.7084 MB / 0.4994 GB, free: 1.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003844/0.3752, allocations: 283.9 kB / 0.4997 GB, free: 1.633 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.3753, allocations: 47.41 kB / 0.4998 GB, free: 1.586 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3753, allocations: 0 / 0.4998 GB, free: 1.586 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05543/0.4308, allocations: 28.37 MB / 0.5275 GB, free: 5.215 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.785/9.216, allocations: 11.73 kB / 0.5275 GB, free: 5.203 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)