Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, 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.001524/0.001524, allocations: 196.5 kB / 16.53 MB, free: 6.699 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.867/2.867, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.97 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3224, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1945/0.517, allocations: 167.5 MB / 1.232 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008917/0.526, allocations: 6.534 MB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007191/0.5267, allocations: 11.94 kB / 1.238 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007993/0.5275, allocations: 170.7 kB / 1.238 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.5306, allocations: 0.8362 MB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.5319, allocations: 326.8 kB / 1.239 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001099/0.533, allocations: 0.7134 MB / 1.24 GB, free: 9.641 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005797/0.5336, allocations: 294.7 kB / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.535, allocations: 0.5408 MB / 1.241 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006068/0.5356, allocations: 267 kB / 1.241 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.412e-05/0.5357, allocations: 24 kB / 1.241 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.5367, allocations: 343.1 kB / 1.242 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.5369, allocations: 107.7 kB / 1.242 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.5373, allocations: 159.2 kB / 1.242 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009781/0.5382, allocations: 462.4 kB / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.5383, allocations: 0 / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.494e-06/0.5383, allocations: 0 / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.5383, allocations: 0 / 1.242 GB, free: 7.469 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001252/0.5396, allocations: 0.631 MB / 1.243 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.5396, allocations: 8.031 kB / 1.243 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004936/0.5401, allocations: 59.59 kB / 1.243 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.5407, allocations: 301.2 kB / 1.243 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.1e-05/0.5407, allocations: 16.56 kB / 1.243 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.5408, allocations: 31.98 kB / 1.243 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.5414, allocations: 319.7 kB / 1.244 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5414, allocations: 0 / 1.244 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.988e-05/0.5415, allocations: 12 kB / 1.244 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.5415, allocations: 8 kB / 1.244 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.542, allocations: 201.5 kB / 1.244 GB, free: 5.785 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/0.544, allocations: 1.55 MB / 1.245 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002882/0.5443, allocations: 118.5 kB / 1.245 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.5446, allocations: 92.8 kB / 1.246 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007814/0.5453, allocations: 307.2 kB / 1.246 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.5454, allocations: 30.56 kB / 1.246 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.5454, allocations: 0 / 1.246 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0008085/0.5462, allocations: 273.5 kB / 1.246 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.5463, allocations: 55.41 kB / 1.246 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.5466, allocations: 308.5 kB / 1.246 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.5466, allocations: 29.7 kB / 1.246 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.5468, allocations: 184.1 kB / 1.247 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-05/0.5469, allocations: 43.3 kB / 1.247 GB, free: 2.578 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.043e-05/0.547, allocations: 37.66 kB / 1.247 GB, free: 2.535 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.5471, allocations: 342.8 kB / 1.247 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.5473, allocations: 63.95 kB / 1.247 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.5475, allocations: 114.4 kB / 1.247 GB, free: 2 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.5478, allocations: 180.9 kB / 1.247 GB, free: 1.805 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5478, allocations: 3.938 kB / 1.247 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004349/0.5483, allocations: 221.1 kB / 1.248 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5483, allocations: 4 kB / 1.248 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5483, allocations: 4 kB / 1.248 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5484, allocations: 4.031 kB / 1.248 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.5485, allocations: 35.97 kB / 1.248 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.5486, allocations: 0 / 1.248 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.5488, allocations: 35.67 kB / 1.248 GB, free: 1.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.5488, allocations: 8.156 kB / 1.248 GB, free: 1.488 MB / 0.9981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001559/0.549, allocations: 157.6 kB / 1.248 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.804e-05/0.549, allocations: 23.72 kB / 1.248 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004413/0.5495, allocations: 212.3 kB / 1.248 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5495, allocations: 0 / 1.248 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5495, allocations: 0 / 1.248 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.5495, allocations: 0 / 1.248 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.5505, allocations: 0.6875 MB / 1.249 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.5505, allocations: 0 / 1.249 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.5507, allocations: 31.92 kB / 1.249 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.5507, allocations: 0 / 1.249 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.5507, allocations: 8 kB / 1.249 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.5507, allocations: 7.938 kB / 1.249 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5507, allocations: 0 / 1.249 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.643/1.194, allocations: 330.5 kB / 1.249 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/1.194, allocations: 121.4 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.145e-05/1.194, allocations: 7.469 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/1.194, allocations: 12.19 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/1.194, allocations: 13.39 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/1.194, allocations: 5.156 kB / 1.249 GB, free: 187.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002488/1.195, allocations: 224.9 kB / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.195, allocations: 0 / 1.249 GB, free: 187.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004566/1.195, allocations: 78.12 kB / 1.25 GB, free: 187.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0003854/1.195, allocations: 154.9 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000434/1.196, allocations: 157.6 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/1.196, allocations: 0.625 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/1.196, allocations: 89.66 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008253/1.197, allocations: 150.8 kB / 1.25 GB, free: 187.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008343/1.198, allocations: 0.5324 MB / 1.251 GB, free: 186.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/1.198, allocations: 0.7859 MB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002176/1.198, allocations: 67.36 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/1.198, allocations: 26.72 kB / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/1.198, allocations: 0 / 1.251 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.01095/1.209, allocations: 5.128 MB / 1.256 GB, free: 185.9 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)