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.00463/0.00463, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00111/0.00111, allocations: 191.2 kB / 16.67 MB, free: 5.93 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.38/1.38, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.046/0.046, allocations: 9.1 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.002293/0.002293, allocations: 70.39 kB / 387 MB, free: 8.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2665, allocations: 48.15 MB / 435.1 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.019/0.2856, allocations: 16.9 MB / 452 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.2876, allocations: 1.847 MB / 453.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.1e-05/0.2876, allocations: 1.219 kB / 453.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007845/0.2884, allocations: 306.5 kB / 454.2 MB, free: 9.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.2885, allocations: 27.09 kB / 454.2 MB, free: 9.172 MB / 334.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.00761/0.2961, allocations: 2.914 MB / 457.1 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.2963, allocations: 57.73 kB / 457.1 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.2963, allocations: 5.219 kB / 457.2 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.456e-05/0.2964, allocations: 27.27 kB / 457.2 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.675e-05/0.2964, allocations: 10.53 kB / 457.2 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.805e-06/0.2964, allocations: 1.094 kB / 457.2 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008433/0.3049, allocations: 4.955 MB / 462.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.553e-05/0.3049, allocations: 1.375 kB / 462.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.119e-05/0.305, allocations: 14.8 kB / 462.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00513/0.3101, allocations: 1.994 MB / 464.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.3102, allocations: 0 / 464.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3102, allocations: 0 / 464.2 MB, free: 3.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.3102, allocations: 1.375 kB / 464.2 MB, free: 3.035 MB / 334.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.001399/0.3116, allocations: 0.5026 MB / 464.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.3117, allocations: 9.531 kB / 464.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.3117, allocations: 35.59 kB / 464.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.034e-05/0.3118, allocations: 0.9688 kB / 464.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3119, allocations: 172.5 kB / 464.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.312, allocations: 5.219 kB / 464.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.312, allocations: 0 / 464.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.3121, allocations: 40.73 kB / 464.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3121, allocations: 0 / 464.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.303e-06/0.3122, allocations: 0 / 464.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3122, allocations: 5.234 kB / 464.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.3122, allocations: 10.44 kB / 464.9 MB, free: 2.254 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002095/0.3124, allocations: 167.7 kB / 465.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.268e-05/0.3125, allocations: 34.55 kB / 465.1 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.349e-05/0.3126, allocations: 27.86 kB / 465.2 MB, free: 1.988 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03332/0.3459, allocations: 19.36 MB / 484.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.346, allocations: 38.5 kB / 484.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/0.346, allocations: 0 / 484.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002234/0.3462, allocations: 69.83 kB / 484.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.3462, allocations: 51.41 kB / 484.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.105e-05/0.3463, allocations: 101.8 kB / 484.8 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.3463, allocations: 25.7 kB / 484.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.3464, allocations: 84.3 kB / 484.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.3464, allocations: 23.66 kB / 484.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-05/0.3464, allocations: 13.72 kB / 484.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.3466, allocations: 322.8 kB / 485.2 MB, free: 11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.849e-05/0.3466, allocations: 8 kB / 485.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.3466, allocations: 15.98 kB / 485.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.445e-05/0.3467, allocations: 40.77 kB / 485.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3467, allocations: 0 / 485.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.412e-05/0.3467, allocations: 61.69 kB / 485.4 MB, free: 10.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3468, allocations: 12 kB / 485.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3468, allocations: 0 / 485.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.3468, allocations: 0 / 485.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.3468, allocations: 0 / 485.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.3468, allocations: 0 / 485.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.3468, allocations: 0 / 485.4 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.3469, allocations: 4 kB / 485.4 MB, free: 10.85 MB / 366.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 7.01e-05/0.3469, allocations: 113.8 kB / 485.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.047e-05/0.3469, allocations: 3.906 kB / 485.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.3471, allocations: 178.7 kB / 485.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.806e-05/0.3471, allocations: 180.3 kB / 485.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.076e-05/0.3472, allocations: 188.2 kB / 486 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.227e-05/0.3473, allocations: 180.3 kB / 486.2 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.3475, allocations: 417 kB / 486.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/0.3475, allocations: 109 kB / 486.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.593e-05/0.3476, allocations: 101 kB / 486.8 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.138e-05/0.3476, allocations: 184.2 kB / 487 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.3477, allocations: 180.3 kB / 487.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.805e-05/0.3478, allocations: 184.2 kB / 487.3 MB, free: 8.723 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-05/0.3478, allocations: 176.3 kB / 487.5 MB, free: 8.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.348, allocations: 311.7 kB / 487.8 MB, free: 8.215 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.348, allocations: 190 kB / 488 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.038e-05/0.3481, allocations: 180.2 kB / 488.2 MB, free: 7.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.221e-05/0.3482, allocations: 101 kB / 488.3 MB, free: 7.715 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/0.3483, allocations: 188.2 kB / 488.5 MB, free: 7.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/0.3483, allocations: 104.9 kB / 488.6 MB, free: 7.414 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.457e-05/0.3484, allocations: 99.27 kB / 488.7 MB, free: 7.316 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3484, allocations: 0 / 488.7 MB, free: 7.316 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00119/0.3496, allocations: 391.8 kB / 489 MB, free: 6.934 MB / 366.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.001887/0.3515, allocations: 1.359 MB / 490.4 MB, free: 5.547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.434e-05/0.3515, allocations: 16.27 kB / 490.4 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3516, allocations: 64 / 490.4 MB, free: 5.531 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.3516, allocations: 4 kB / 490.4 MB, free: 5.527 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004961/0.3521, allocations: 493 kB / 490.9 MB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.3535, allocations: 1.543 MB / 492.5 MB, free: 3.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.3538, allocations: 0.6768 MB / 493.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.102e-05/0.3538, allocations: 0 / 493.1 MB, free: 2.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.555e-05/0.3538, allocations: 11.44 kB / 493.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3538, allocations: 0 / 493.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/0.39, allocations: 15.46 MB / 0.4967 GB, free: 3.234 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.57, allocations: 11.98 kB / 0.4967 GB, free: 3.223 MB / 382.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)