Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001807/0.001807, allocations: 191.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.81/2.81, allocations: 472.6 MB / 0.7448 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 70.86 kB / 0.9115 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3037, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006065/0.3098, allocations: 4.751 MB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002769/0.3126, allocations: 2.691 MB / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.748e-05/0.3127, allocations: 0 / 1.075 GB, free: 3.398 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.313, allocations: 39.8 kB / 1.075 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.3133, allocations: 95.48 kB / 1.075 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.3145, allocations: 473.6 kB / 1.076 GB, free: 2.805 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002479/0.3148, allocations: 224 kB / 1.076 GB, free: 2.586 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.195e-05/0.3148, allocations: 13.55 kB / 1.076 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.3151, allocations: 119.6 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.3153, allocations: 91.66 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.3153, allocations: 8 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007513/0.3161, allocations: 379.2 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.37e-05/0.3162, allocations: 43.83 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.3163, allocations: 79.66 kB / 1.076 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.317, allocations: 359.3 kB / 1.077 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.317, allocations: 3.938 kB / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.393e-06/0.317, allocations: 0 / 1.077 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.317, allocations: 4 kB / 1.077 GB, free: 1.508 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007469/0.3177, allocations: 0.4933 MB / 1.077 GB, free: 0.9688 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3178, allocations: 12.03 kB / 1.077 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.318, allocations: 28.73 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002246/0.3182, allocations: 208.1 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3182, allocations: 12.7 kB / 1.078 GB, free: 0.6758 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.3182, allocations: 16.36 kB / 1.078 GB, free: 0.6602 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.3186, allocations: 260.1 kB / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.3187, allocations: 0 / 1.078 GB, free: 396 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.3187, allocations: 11.94 kB / 1.078 GB, free: 384 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.525e-05/0.3187, allocations: 4 kB / 1.078 GB, free: 380 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004704/0.3192, allocations: 423.5 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.3203, allocations: 0.9565 MB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.3206, allocations: 158.9 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3207, allocations: 73.47 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.322, allocations: 1.821 MB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.3221, allocations: 38.5 kB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.3221, allocations: 0 / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=15): time 0.0003246/0.3224, allocations: 147.1 kB / 1.081 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.3225, allocations: 59.34 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.3226, allocations: 167.3 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.3227, allocations: 33.69 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.3228, allocations: 139.8 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.642e-05/0.3228, allocations: 51.2 kB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.3229, allocations: 49.7 kB / 1.082 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.323, allocations: 326.8 kB / 1.082 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.088e-05/0.3231, allocations: 39.97 kB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3232, allocations: 146.2 kB / 1.082 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.3234, allocations: 199.6 kB / 1.082 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3235, allocations: 0 / 1.082 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003081/0.3238, allocations: 225 kB / 1.083 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.3238, allocations: 9.406 kB / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.3238, allocations: 0 / 1.083 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3238, allocations: 8 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.324, allocations: 55.84 kB / 1.083 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.324, allocations: 4.469 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001163/0.3242, allocations: 35.69 kB / 1.083 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.3242, allocations: 12 kB / 1.083 GB, free: 10.62 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001083/0.3243, allocations: 129.8 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.951e-05/0.3244, allocations: 19.8 kB / 1.083 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002845/0.3246, allocations: 153.1 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.3247, allocations: 7.938 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3247, allocations: 0 / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3247, allocations: 4 kB / 1.083 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.3249, allocations: 221.4 kB / 1.083 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.325, allocations: 0 / 1.083 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.325, allocations: 27.98 kB / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3251, allocations: 0 / 1.083 GB, free: 10 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3251, allocations: 4 kB / 1.083 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3251, allocations: 3.938 kB / 1.083 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3251, allocations: 3.938 kB / 1.083 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.3253, allocations: 227.2 kB / 1.084 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.3254, allocations: 105 kB / 1.084 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.3254, allocations: 8 kB / 1.084 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.3257, allocations: 15.92 kB / 1.084 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.3257, allocations: 11.98 kB / 1.084 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.3257, allocations: 8 kB / 1.084 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.449e-05/0.3258, allocations: 120.9 kB / 1.084 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3258, allocations: 0 / 1.084 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003852/0.3262, allocations: 79.92 kB / 1.084 GB, free: 9.391 MB / 0.8419 GB 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0003746/0.3266, allocations: 175.1 kB / 1.084 GB, free: 9.207 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.3268, allocations: 129.8 kB / 1.084 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3268, allocations: 0 / 1.084 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 6.521e-05/0.3269, allocations: 43.92 kB / 1.084 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.3274, allocations: 63.77 kB / 1.084 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006924/0.3281, allocations: 399.2 kB / 1.085 GB, free: 8.559 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.3283, allocations: 0.7128 MB / 1.085 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.3285, allocations: 49.8 kB / 1.085 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.3285, allocations: 23.44 kB / 1.085 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.3285, allocations: 0 / 1.085 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of Templates: time 0.006456/0.335, allocations: 3.408 MB / 1.089 GB, free: 4.383 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_3.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)