Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001139/0.001139, allocations: 107.2 kB / 17.02 MB, free: 5.66 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.001072/0.001072, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7077/0.7077, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001364/0.001364, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3222, allocations: 76.15 MB / 0.5576 GB, free: 36.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1672/0.4895, allocations: 167.5 MB / 0.7212 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008053/0.4976, allocations: 6.534 MB / 0.7275 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005067/0.4981, allocations: 11.94 kB / 0.7275 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007041/0.4988, allocations: 166.7 kB / 0.7277 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002286/0.5012, allocations: 0.844 MB / 0.7285 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009937/0.5022, allocations: 332.9 kB / 0.7289 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009845/0.5032, allocations: 0.7173 MB / 0.7296 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005333/0.5037, allocations: 278.6 kB / 0.7298 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.505, allocations: 0.5564 MB / 0.7304 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004691/0.5055, allocations: 270.9 kB / 0.7306 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.5056, allocations: 20 kB / 0.7306 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006643/0.5062, allocations: 343.2 kB / 0.731 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.5064, allocations: 107.7 kB / 0.7311 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.5066, allocations: 163.2 kB / 0.7312 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007288/0.5074, allocations: 482.4 kB / 0.7317 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.5074, allocations: 0 / 0.7317 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5074, allocations: 0 / 0.7317 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.5074, allocations: 0 / 0.7317 GB, free: 1.641 MB / 0.5606 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.001039/0.5085, allocations: 0.6155 MB / 0.7323 GB, free: 0.9766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.5085, allocations: 8.031 kB / 0.7323 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003397/0.5088, allocations: 59.59 kB / 0.7323 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000576/0.5094, allocations: 329.1 kB / 0.7327 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/0.5095, allocations: 20.56 kB / 0.7327 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.5095, allocations: 24 kB / 0.7327 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.5101, allocations: 315.7 kB / 0.733 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5101, allocations: 0 / 0.733 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.5101, allocations: 12 kB / 0.733 GB, free: 160 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.5101, allocations: 8 kB / 0.733 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004226/0.5106, allocations: 209.5 kB / 0.7332 GB, free: 15.95 MB / 0.5762 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.001517/0.5121, allocations: 1.53 MB / 0.7347 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.5123, allocations: 122.4 kB / 0.7348 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.5125, allocations: 96.8 kB / 0.7349 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005767/0.5131, allocations: 299.2 kB / 0.7352 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.5131, allocations: 30.56 kB / 0.7352 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.5132, allocations: 4 kB / 0.7352 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007421/0.5139, allocations: 269.5 kB / 0.7355 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.514, allocations: 55.41 kB / 0.7356 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.5143, allocations: 312.5 kB / 0.7359 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5143, allocations: 29.64 kB / 0.7359 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.5144, allocations: 188.1 kB / 0.7361 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.5145, allocations: 43.36 kB / 0.7361 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.75e-05/0.5146, allocations: 33.7 kB / 0.7361 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.5147, allocations: 342.8 kB / 0.7365 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.5148, allocations: 59.95 kB / 0.7365 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.515, allocations: 115.1 kB / 0.7366 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000305/0.5153, allocations: 173 kB / 0.7368 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.5154, allocations: 7.938 kB / 0.7368 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004101/0.5158, allocations: 217.1 kB / 0.737 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5158, allocations: 4 kB / 0.737 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5158, allocations: 4 kB / 0.737 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5158, allocations: 0 / 0.737 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.516, allocations: 39.92 kB / 0.7371 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.516, allocations: 4.156 kB / 0.7371 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.5162, allocations: 35.67 kB / 0.7371 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.659e-05/0.5163, allocations: 7.938 kB / 0.7371 GB, free: 11.67 MB / 0.5762 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.0001419/0.5164, allocations: 154.4 kB / 0.7372 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.186e-05/0.5165, allocations: 27.7 kB / 0.7373 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004202/0.5169, allocations: 207 kB / 0.7375 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5169, allocations: 4 kB / 0.7375 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5169, allocations: 0 / 0.7375 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5169, allocations: 4 kB / 0.7375 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.5179, allocations: 0.6833 MB / 0.7381 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5179, allocations: 0 / 0.7381 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.5181, allocations: 35.97 kB / 0.7382 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.5181, allocations: 0 / 0.7382 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.5181, allocations: 4 kB / 0.7382 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.5181, allocations: 7.938 kB / 0.7382 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5181, allocations: 3.938 kB / 0.7382 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004114/0.5186, allocations: 337.4 kB / 0.7385 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.5187, allocations: 116.7 kB / 0.7386 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.5187, allocations: 4 kB / 0.7386 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.5189, allocations: 15.92 kB / 0.7386 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.534e-05/0.519, allocations: 15.97 kB / 0.7387 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.519, allocations: 8.047 kB / 0.7387 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002018/0.5192, allocations: 223.1 kB / 0.7389 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5192, allocations: 4 kB / 0.7389 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003788/0.5196, allocations: 75.83 kB / 0.739 GB, free: 9.621 MB / 0.5762 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.0003591/0.5199, allocations: 166.3 kB / 0.7391 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.5204, allocations: 151.8 kB / 0.7393 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.5204, allocations: 3.938 kB / 0.7393 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001704/0.5205, allocations: 80.52 kB / 0.7393 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007722/0.5213, allocations: 148.3 kB / 0.7395 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008365/0.5222, allocations: 0.5444 MB / 0.74 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.5225, allocations: 0.7834 MB / 0.7408 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001874/0.5227, allocations: 58.92 kB / 0.7408 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.5228, allocations: 27.38 kB / 0.7409 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.5228, allocations: 4 kB / 0.7409 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of Templates: time 0.009848/0.5326, allocations: 5.113 MB / 0.7459 GB, free: 2.578 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)