Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_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_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_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.001395/0.001395, allocations: 108 kB / 15.6 MB, free: 132 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.001825/0.001825, allocations: 198 kB / 16.54 MB, free: 6.672 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.484/1.484, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04913/0.04913, allocations: 9.099 MB / 278.9 MB, free: 12.17 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.001467/0.001467, allocations: 60.47 kB / 338.1 MB, free: 25.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09412, allocations: 48.17 MB / 386.3 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01896/0.1131, allocations: 16.89 MB / 403.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1151, allocations: 1.853 MB / 405 MB, free: 6.285 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.1151, allocations: 3.938 kB / 405 MB, free: 6.281 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.1158, allocations: 260 kB / 405.3 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.56e-05/0.1159, allocations: 27.83 kB / 405.3 MB, free: 6 MB / 302.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.006461/0.1223, allocations: 2.792 MB / 408.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.922e-05/0.1224, allocations: 51.73 kB / 408.2 MB, free: 3.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.775e-05/0.1225, allocations: 4 kB / 408.2 MB, free: 3.145 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.712e-05/0.1226, allocations: 31.84 kB / 408.2 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.1226, allocations: 15.94 kB / 408.2 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.1226, allocations: 0 / 408.2 MB, free: 3.098 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006891/0.1295, allocations: 4.877 MB / 413.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.331e-05/0.1296, allocations: 3.938 kB / 413.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.1296, allocations: 15.94 kB / 413.1 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00355/0.1332, allocations: 1.988 MB / 415.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1332, allocations: 0 / 415.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1332, allocations: 0 / 415.1 MB, free: 12.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.1332, allocations: 0 / 415.1 MB, free: 12.2 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000851/0.1341, allocations: 0.5069 MB / 415.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1341, allocations: 12.03 kB / 415.6 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.175e-05/0.1342, allocations: 34.5 kB / 415.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.1342, allocations: 7.906 kB / 415.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.1344, allocations: 167 kB / 415.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.1344, allocations: 0 / 415.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.1344, allocations: 0 / 415.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.1346, allocations: 45.62 kB / 415.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.1346, allocations: 0 / 415.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1346, allocations: 3.984 kB / 415.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1346, allocations: 0 / 415.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.184e-05/0.1347, allocations: 16 kB / 415.9 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000245/0.1349, allocations: 161.6 kB / 416.1 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.407e-05/0.135, allocations: 34.56 kB / 416.1 MB, free: 11.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.7e-05/0.135, allocations: 20.89 kB / 416.1 MB, free: 11.03 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1805/0.3155, allocations: 19.34 MB / 435.5 MB, free: 39.16 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/0.3156, allocations: 33.62 kB / 435.5 MB, free: 39.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.895e-06/0.3156, allocations: 2.031 kB / 435.5 MB, free: 39.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000221/0.3159, allocations: 72.97 kB / 435.6 MB, free: 39.09 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.3159, allocations: 52.91 kB / 435.6 MB, free: 39.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.906e-05/0.316, allocations: 100.4 kB / 435.7 MB, free: 38.93 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.316, allocations: 25.7 kB / 435.7 MB, free: 38.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.845e-05/0.316, allocations: 80.14 kB / 435.8 MB, free: 38.81 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.773e-05/0.3161, allocations: 25.36 kB / 435.8 MB, free: 38.8 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.3161, allocations: 13.98 kB / 435.8 MB, free: 38.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.822e-05/0.3162, allocations: 322.9 kB / 436.2 MB, free: 38.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.158e-05/0.3162, allocations: 12.8 kB / 436.2 MB, free: 38.48 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.966e-05/0.3162, allocations: 13.52 kB / 436.2 MB, free: 38.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/0.3163, allocations: 34.38 kB / 436.2 MB, free: 38.47 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3163, allocations: 1.156 kB / 436.2 MB, free: 38.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.732e-05/0.3164, allocations: 72.41 kB / 436.3 MB, free: 38.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3164, allocations: 6.359 kB / 436.3 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.3164, allocations: 0 / 436.3 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3164, allocations: 0 / 436.3 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.3164, allocations: 1.656 kB / 436.3 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.3164, allocations: 0 / 436.3 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.3165, allocations: 4.828 kB / 436.3 MB, free: 38.44 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.3165, allocations: 4.359 kB / 436.3 MB, free: 38.44 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 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.255e-05/0.3166, allocations: 111.3 kB / 436.4 MB, free: 38.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.031e-05/0.3166, allocations: 5.703 kB / 436.4 MB, free: 38.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.3167, allocations: 176.1 kB / 436.6 MB, free: 38.15 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.408e-05/0.3167, allocations: 181.1 kB / 436.8 MB, free: 37.97 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.911e-05/0.3168, allocations: 180.6 kB / 437 MB, free: 37.79 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.182e-05/0.3168, allocations: 184.6 kB / 437.1 MB, free: 37.61 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.317, allocations: 411.1 kB / 437.5 MB, free: 37.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.317, allocations: 107.7 kB / 437.6 MB, free: 37.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.036e-05/0.317, allocations: 105.8 kB / 437.7 MB, free: 36.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-05/0.3171, allocations: 178 kB / 437.9 MB, free: 36.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.178e-05/0.3171, allocations: 182.4 kB / 438.1 MB, free: 36.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-05/0.3171, allocations: 179.9 kB / 438.3 MB, free: 36.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.021e-05/0.3172, allocations: 183.8 kB / 438.4 MB, free: 36.22 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.644e-05/0.3173, allocations: 305.1 kB / 438.7 MB, free: 35.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.3173, allocations: 192.8 kB / 438.9 MB, free: 35.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.3174, allocations: 181.8 kB / 439.1 MB, free: 35.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.613e-05/0.3174, allocations: 107.1 kB / 439.2 MB, free: 35.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.3175, allocations: 182.1 kB / 439.4 MB, free: 35.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.3175, allocations: 103 kB / 439.5 MB, free: 35.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.3176, allocations: 104.1 kB / 439.6 MB, free: 35.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3176, allocations: 0 / 439.6 MB, free: 35.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001273/0.3188, allocations: 392.9 kB / 440 MB, free: 35.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.001832/0.3207, allocations: 1.367 MB / 441.3 MB, free: 34.15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.263e-05/0.3208, allocations: 22.89 kB / 441.4 MB, free: 34.15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3208, allocations: 1.5 kB / 441.4 MB, free: 34.15 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.3208, allocations: 1.375 kB / 441.4 MB, free: 34.15 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.3212, allocations: 482.1 kB / 441.8 MB, free: 33.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.3223, allocations: 1.535 MB / 443.4 MB, free: 32.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.3224, allocations: 0.6775 MB / 444.1 MB, free: 31.61 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.974e-05/0.3224, allocations: 5.469 kB / 444.1 MB, free: 31.6 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.907e-05/0.3224, allocations: 13.8 kB / 444.1 MB, free: 31.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3224, allocations: 0 / 444.1 MB, free: 31.59 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04164/0.3641, allocations: 15.47 MB / 459.5 MB, free: 21.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.753/9.117, allocations: 15.86 kB / 459.6 MB, free: 21.91 MB / 318.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)