Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001024/0.001024, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001058/0.001058, allocations: 191 kB / 17.29 MB, free: 5.516 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001978/0.001978, allocations: 283.5 kB / 291.4 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9128/0.9128, allocations: 169.3 MB / 0.4989 GB, free: 4.402 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001731/0.001731, allocations: 99.27 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1477, allocations: 86.98 MB / 0.6816 GB, free: 7.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4262/0.5739, allocations: 167.5 MB / 0.8452 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006928/0.5809, allocations: 6.542 MB / 0.8516 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004179/0.5813, allocations: 11.94 kB / 0.8516 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005027/0.5819, allocations: 166.8 kB / 0.8518 GB, free: 368 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.5839, allocations: 0.844 MB / 0.8526 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.5848, allocations: 331.9 kB / 0.8529 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0007622/0.5856, allocations: 0.7135 MB / 0.8536 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003941/0.586, allocations: 286.6 kB / 0.8539 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.587, allocations: 0.5448 MB / 0.8544 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003496/0.5874, allocations: 278.9 kB / 0.8547 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.558e-05/0.5874, allocations: 20 kB / 0.8547 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005728/0.588, allocations: 343.2 kB / 0.855 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.5881, allocations: 107.6 kB / 0.8551 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.5883, allocations: 159.2 kB / 0.8553 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005569/0.5889, allocations: 474.5 kB / 0.8557 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5889, allocations: 0 / 0.8557 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5889, allocations: 0 / 0.8557 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.5889, allocations: 0 / 0.8557 GB, free: 12.29 MB / 0.6231 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.0007679/0.5897, allocations: 0.6239 MB / 0.8563 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.5897, allocations: 8.031 kB / 0.8563 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002876/0.59, allocations: 67.48 kB / 0.8564 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.5904, allocations: 329.1 kB / 0.8567 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.5905, allocations: 20.56 kB / 0.8567 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.5905, allocations: 24 kB / 0.8568 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.591, allocations: 315.7 kB / 0.8571 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.591, allocations: 4 kB / 0.8571 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.591, allocations: 12 kB / 0.8571 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.5911, allocations: 8 kB / 0.8571 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000394/0.5915, allocations: 197.6 kB / 0.8573 GB, free: 10.59 MB / 0.6231 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.001394/0.5929, allocations: 1.53 MB / 0.8588 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.5931, allocations: 122.5 kB / 0.8589 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.5933, allocations: 92.8 kB / 0.859 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005503/0.5938, allocations: 307.2 kB / 0.8593 GB, free: 8.352 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5939, allocations: 34.5 kB / 0.8593 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.5939, allocations: 0 / 0.8593 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0006723/0.5946, allocations: 269.4 kB / 0.8595 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.5946, allocations: 59.41 kB / 0.8596 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.5949, allocations: 312.5 kB / 0.8599 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.5949, allocations: 29.7 kB / 0.8599 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.595, allocations: 184.1 kB / 0.8601 GB, free: 7.434 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.5951, allocations: 43.36 kB / 0.8601 GB, free: 7.391 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.5951, allocations: 37.7 kB / 0.8602 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.5953, allocations: 334.8 kB / 0.8605 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.5954, allocations: 59.95 kB / 0.8606 GB, free: 6.953 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.5956, allocations: 117 kB / 0.8607 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000294/0.5959, allocations: 177 kB / 0.8608 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5959, allocations: 0.875 kB / 0.8608 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003913/0.5963, allocations: 221 kB / 0.861 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.5963, allocations: 10.66 kB / 0.8611 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.5963, allocations: 4 kB / 0.8611 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.5964, allocations: 0 / 0.8611 GB, free: 6.395 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.5965, allocations: 35.92 kB / 0.8611 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.5965, allocations: 0 / 0.8611 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.5967, allocations: 31.77 kB / 0.8611 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.5967, allocations: 7.125 kB / 0.8611 GB, free: 6.324 MB / 0.6231 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.0001342/0.5969, allocations: 153.8 kB / 0.8613 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.5969, allocations: 31.62 kB / 0.8613 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.5973, allocations: 204.3 kB / 0.8615 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5974, allocations: 0 / 0.8615 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5974, allocations: 0 / 0.8615 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.5974, allocations: 11.92 kB / 0.8615 GB, free: 5.918 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009303/0.5983, allocations: 0.6835 MB / 0.8622 GB, free: 5.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5983, allocations: 3.938 kB / 0.8622 GB, free: 5.152 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.5985, allocations: 31.92 kB / 0.8622 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5985, allocations: 224 / 0.8622 GB, free: 5.121 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.5985, allocations: 12 kB / 0.8622 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.5985, allocations: 7.938 kB / 0.8622 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.5985, allocations: 0 / 0.8622 GB, free: 5.102 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003928/0.5989, allocations: 344 kB / 0.8626 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.599, allocations: 116.7 kB / 0.8627 GB, free: 4.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.746e-05/0.5991, allocations: 4 kB / 0.8627 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.5993, allocations: 17.55 kB / 0.8627 GB, free: 4.578 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.5993, allocations: 19.97 kB / 0.8627 GB, free: 4.559 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.5993, allocations: 7.984 kB / 0.8627 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001933/0.5995, allocations: 227 kB / 0.8629 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5995, allocations: 0 / 0.8629 GB, free: 4.332 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003511/0.5999, allocations: 71.84 kB / 0.863 GB, free: 4.262 MB / 0.6231 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.0003159/0.6002, allocations: 150.3 kB / 0.8632 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003673/0.6006, allocations: 151.8 kB / 0.8633 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6006, allocations: 8.312 kB / 0.8633 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001693/0.6008, allocations: 83.83 kB / 0.8634 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.6015, allocations: 151.8 kB / 0.8635 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007539/0.6023, allocations: 0.5333 MB / 0.8641 GB, free: 3.152 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.6026, allocations: 0.7795 MB / 0.8648 GB, free: 2.348 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.6028, allocations: 62.92 kB / 0.8649 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.6028, allocations: 23.44 kB / 0.8649 GB, free: 2.266 MB / 0.6231 GB Notification: Performance of SimCode: time 1.353e-06/0.6028, allocations: 4 kB / 0.8649 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of Templates: time 0.008691/0.6115, allocations: 5.127 MB / 0.8699 GB, free: 13.23 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)