Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sources.Examples.PropertySource_h.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.402/2.402, allocations: 248.7 MB / 256.2 MB, free: 7.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.001499, allocations: 181.2 kB / 315.4 MB, free: 4.047 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 90.45 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.039e-05/2.053e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2008, allocations: 106.3 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.018/7.218, allocations: 2.183 GB / 3.067 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/7.219, allocations: 89.28 kB / 3.067 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.898/9.116, allocations: 393.1 MB / 3.451 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.803e-06/9.117, allocations: 4 kB / 3.451 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.792e-05/9.117, allocations: 16 kB / 3.451 GB, free: 125.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001759/9.118, allocations: 0.8539 MB / 3.452 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/9.118, allocations: 12.03 kB / 3.452 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/9.119, allocations: 63.25 kB / 3.452 GB, free: 124.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008383/9.119, allocations: 424.5 kB / 3.453 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/9.119, allocations: 20 kB / 3.453 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/9.12, allocations: 36 kB / 3.453 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007013/9.12, allocations: 270.5 kB / 3.453 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/9.121, allocations: 0.5881 MB / 3.453 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/9.121, allocations: 0 / 3.453 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/9.121, allocations: 4 kB / 3.453 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.647e-05/9.121, allocations: 31.92 kB / 3.453 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/9.124, allocations: 2.998 MB / 3.456 GB, free: 120.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/9.125, allocations: 198.1 kB / 3.457 GB, free: 120 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/9.125, allocations: 112.6 kB / 3.457 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/9.125, allocations: 3.938 kB / 3.457 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/9.125, allocations: 50.45 kB / 3.457 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 3.417e-06/9.125, allocations: 0 / 3.457 GB, free: 119.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004947/9.125, allocations: 125.2 kB / 3.457 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/9.125, allocations: 295 kB / 3.457 GB, free: 119.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002498/9.126, allocations: 225.2 kB / 3.457 GB, free: 119 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/9.126, allocations: 29.7 kB / 3.457 GB, free: 119 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/9.126, allocations: 291.5 kB / 3.458 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/9.126, allocations: 35.55 kB / 3.458 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/9.126, allocations: 0 / 3.458 GB, free: 118.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/9.126, allocations: 334.8 kB / 3.458 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.724e-05/9.126, allocations: 23.98 kB / 3.458 GB, free: 118.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/9.126, allocations: 104.5 kB / 3.458 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.421e-05/9.126, allocations: 23.98 kB / 3.458 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/9.126, allocations: 4 kB / 3.458 GB, free: 118.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002346/9.127, allocations: 129.2 kB / 3.458 GB, free: 118 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/9.127, allocations: 8 kB / 3.458 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/9.127, allocations: 0 / 3.458 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/9.127, allocations: 7.953 kB / 3.458 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/9.127, allocations: 23.98 kB / 3.458 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/9.127, allocations: 4.172 kB / 3.458 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/9.127, allocations: 23.98 kB / 3.458 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/9.127, allocations: 8 kB / 3.458 GB, free: 118 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.749e-05/9.127, allocations: 116.8 kB / 3.458 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004037/9.128, allocations: 137.2 kB / 3.459 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/9.128, allocations: 35.58 kB / 3.459 GB, free: 117.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.178e-05/9.128, allocations: 25.36 kB / 3.459 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/9.128, allocations: 4 kB / 3.459 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/9.128, allocations: 4 kB / 3.459 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/9.128, allocations: 4 kB / 3.459 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/9.13, allocations: 1.212 MB / 3.46 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/9.13, allocations: 4.281 kB / 3.46 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/9.13, allocations: 36.31 kB / 3.46 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/9.13, allocations: 11.92 kB / 3.46 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/9.13, allocations: 4 kB / 3.46 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/9.13, allocations: 7.938 kB / 3.46 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.242e-06/9.13, allocations: 4 kB / 3.46 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/9.13, allocations: 374.2 kB / 3.46 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/9.13, allocations: 112.8 kB / 3.46 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/9.13, allocations: 7.953 kB / 3.46 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/9.131, allocations: 19.98 kB / 3.46 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/9.131, allocations: 11.98 kB / 3.46 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/9.131, allocations: 4 kB / 3.46 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001844/9.131, allocations: 180.6 kB / 3.461 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.91e-07/9.131, allocations: 4 kB / 3.461 GB, free: 115.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009458/9.132, allocations: 215.2 kB / 3.461 GB, free: 115.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003185/9.135, allocations: 3.05 MB / 3.464 GB, free: 112 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002954/9.135, allocations: 75.84 kB / 3.464 GB, free: 112 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/9.136, allocations: 0 / 3.464 GB, free: 112 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/9.136, allocations: 40.55 kB / 3.464 GB, free: 111.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009254/9.137, allocations: 101 kB / 3.464 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/9.139, allocations: 0.7243 MB / 3.465 GB, free: 111 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/9.139, allocations: 0.9194 MB / 3.466 GB, free: 110.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002803/9.139, allocations: 50.02 kB / 3.466 GB, free: 110 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/9.14, allocations: 163.4 kB / 3.466 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.323e-06/9.14, allocations: 0 / 3.466 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06948/9.209, allocations: 17.78 MB / 3.483 GB, free: 92.14 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002842/9.209, allocations: 174.8 kB / 3.483 GB, free: 91.94 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/12.34, allocations: 0 / 3.483 GB, free: 91.94 MB / 0.8698 GB