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.001489/0.001489, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001919, allocations: 194 kB / 16.53 MB, free: 6.664 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.553/1.553, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04708/0.04708, allocations: 9.097 MB / 278.9 MB, free: 12.16 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.001481/0.001481, allocations: 67.91 kB / 338.1 MB, free: 25.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09555/0.09705, allocations: 48.15 MB / 386.3 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_dT_parameter): time 0.0209/0.118, allocations: 17.26 MB / 403.6 MB, free: 7.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01529/0.1333, allocations: 15.53 MB / 419.1 MB, free: 8.203 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.1335, allocations: 4 kB / 419.1 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.1346, allocations: 383.4 kB / 419.5 MB, free: 7.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.1377, allocations: 1.281 MB / 420.7 MB, free: 6.539 MB / 318.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.01203/0.1498, allocations: 4.409 MB / 425.2 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002804/0.1501, allocations: 155.2 kB / 425.3 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.1502, allocations: 13.08 kB / 425.3 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.1503, allocations: 59.73 kB / 425.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1504, allocations: 51.72 kB / 425.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1504, allocations: 0 / 425.4 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2125/0.363, allocations: 8.379 MB / 433.8 MB, free: 18.32 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.258e-05/0.3631, allocations: 18.3 kB / 433.8 MB, free: 18.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.3632, allocations: 50.8 kB / 433.9 MB, free: 18.32 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.3737, allocations: 3.506 MB / 437.4 MB, free: 18.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3737, allocations: 1.438 kB / 437.4 MB, free: 18.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3737, allocations: 1.125 kB / 437.4 MB, free: 18.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.3737, allocations: 0 / 437.4 MB, free: 18.27 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.001934/0.3757, allocations: 0.7861 MB / 438.2 MB, free: 17.7 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.483e-05/0.3757, allocations: 9.969 kB / 438.2 MB, free: 17.7 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.3758, allocations: 45.69 kB / 438.2 MB, free: 17.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004495/0.3763, allocations: 57.34 kB / 438.3 MB, free: 17.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.3764, allocations: 175.1 kB / 438.5 MB, free: 17.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.3764, allocations: 6.719 kB / 438.5 MB, free: 17.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.3764, allocations: 4.844 kB / 438.5 MB, free: 17.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004123/0.3768, allocations: 263.5 kB / 438.7 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3769, allocations: 2.031 kB / 438.7 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.3769, allocations: 7.922 kB / 438.7 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.968e-06/0.3769, allocations: 6.266 kB / 438.7 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004752/0.3774, allocations: 450.2 kB / 439.2 MB, free: 17.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002592/0.3777, allocations: 334.1 kB / 439.5 MB, free: 17.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/0.378, allocations: 272.2 kB / 439.8 MB, free: 17.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.3782, allocations: 246.9 kB / 440 MB, free: 17.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01454/0.3928, allocations: 10.02 MB / 450 MB, free: 8.398 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.3928, allocations: 33.19 kB / 450.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 2.896e-06/0.3929, allocations: 0 / 450.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=41): time 0.0009641/0.3938, allocations: 0.6716 MB / 450.7 MB, free: 8.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.3939, allocations: 58.41 kB / 450.8 MB, free: 8.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.378e-05/0.394, allocations: 98.8 kB / 450.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.394, allocations: 29.58 kB / 450.9 MB, free: 8.109 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.237e-05/0.394, allocations: 84.08 kB / 451 MB, free: 8.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.521e-05/0.3941, allocations: 133.9 kB / 451.1 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.826e-05/0.3942, allocations: 48.17 kB / 451.2 MB, free: 7.926 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.3943, allocations: 321.5 kB / 451.5 MB, free: 7.613 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.3945, allocations: 190.5 kB / 451.7 MB, free: 7.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.3947, allocations: 193.3 kB / 451.9 MB, free: 7.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.3953, allocations: 449.2 kB / 452.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3953, allocations: 0 / 452.3 MB, free: 7.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006027/0.3959, allocations: 496.7 kB / 452.8 MB, free: 7.488 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.3959, allocations: 5.5 kB / 452.8 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.3959, allocations: 0 / 452.8 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3959, allocations: 1.375 kB / 452.8 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3961, allocations: 29.73 kB / 452.8 MB, free: 7.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3961, allocations: 7.938 kB / 452.8 MB, free: 7.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.3962, allocations: 23.69 kB / 452.9 MB, free: 7.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.3963, allocations: 7.734 kB / 452.9 MB, free: 7.465 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 9.289e-05/0.3964, allocations: 119.2 kB / 453 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.414e-05/0.3964, allocations: 11.94 kB / 453 MB, free: 7.344 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008069/0.3972, allocations: 0.6722 MB / 453.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3972, allocations: 2.312 kB / 453.7 MB, free: 7.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3973, allocations: 4.812 kB / 453.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3973, allocations: 0.8438 kB / 453.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.3983, allocations: 0.9083 MB / 454.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3983, allocations: 4.875 kB / 454.6 MB, free: 6.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.3985, allocations: 29.94 kB / 454.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.3985, allocations: 3.594 kB / 454.6 MB, free: 6.586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/0.3985, allocations: 15.2 kB / 454.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.3985, allocations: 10.91 kB / 454.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3985, allocations: 0 / 454.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.3989, allocations: 375.3 kB / 455 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.399, allocations: 84.55 kB / 455.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.399, allocations: 19.52 kB / 455.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.3991, allocations: 7.719 kB / 455.1 MB, free: 6.219 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.3992, allocations: 32.14 kB / 455.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.3992, allocations: 7.344 kB / 455.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3993, allocations: 172.4 kB / 455.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3993, allocations: 0 / 455.3 MB, free: 6.113 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002759/0.4021, allocations: 0.7372 MB / 456.1 MB, free: 5.965 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.003838/0.4059, allocations: 2.011 MB / 458.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005815/0.4065, allocations: 355 kB / 458.4 MB, free: 4.824 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4066, allocations: 7.312 kB / 458.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.4067, allocations: 88.2 kB / 458.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.4073, allocations: 86.41 kB / 458.6 MB, free: 4.742 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002994/0.4103, allocations: 3.062 MB / 461.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002512/0.4106, allocations: 0.7142 MB / 462.4 MB, free: 17.72 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003114/0.4109, allocations: 286.9 kB / 462.7 MB, free: 17.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.411, allocations: 48.47 kB / 462.7 MB, free: 17.55 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.411, allocations: 0 / 462.7 MB, free: 17.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/0.469, allocations: 28.33 MB / 491 MB, free: 6.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.658/9.127, allocations: 11.84 kB / 491 MB, free: 6.844 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)