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.001395/0.001395, allocations: 109 kB / 16.41 MB, free: 6.438 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.001402/0.001402, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002163/0.002162, allocations: 289 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9268/0.9268, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 95.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4365, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1719/0.6084, allocations: 167.5 MB / 0.9307 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.007158/0.6156, allocations: 6.53 MB / 0.937 GB, free: 5.191 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004215/0.6161, allocations: 11.94 kB / 0.9371 GB, free: 5.18 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005142/0.6166, allocations: 178.7 kB / 0.9372 GB, free: 5.004 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001918/0.6186, allocations: 0.8362 MB / 0.938 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008354/0.6194, allocations: 332.2 kB / 0.9384 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007804/0.6202, allocations: 0.7212 MB / 0.9391 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.6206, allocations: 277.4 kB / 0.9393 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001023/0.6217, allocations: 0.5564 MB / 0.9399 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.622, allocations: 270.9 kB / 0.9401 GB, free: 2.031 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.6221, allocations: 24 kB / 0.9402 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000565/0.6227, allocations: 339.2 kB / 0.9405 GB, free: 1.676 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.6228, allocations: 103.7 kB / 0.9406 GB, free: 1.574 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.6229, allocations: 167.1 kB / 0.9407 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.6235, allocations: 474.5 kB / 0.9412 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6235, allocations: 0 / 0.9412 GB, free: 0.9453 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6235, allocations: 3.938 kB / 0.9412 GB, free: 0.9414 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.6236, allocations: 0 / 0.9412 GB, free: 0.9414 MB / 0.7012 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.0007888/0.6243, allocations: 0.6233 MB / 0.9418 GB, free: 276 kB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.6244, allocations: 8.031 kB / 0.9418 GB, free: 268 kB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.6247, allocations: 59.59 kB / 0.9419 GB, free: 208 kB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.6252, allocations: 333.1 kB / 0.9422 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.6252, allocations: 20.56 kB / 0.9422 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.671e-05/0.6252, allocations: 24 kB / 0.9422 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.6257, allocations: 311.7 kB / 0.9425 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.6257, allocations: 4 kB / 0.9425 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.6258, allocations: 12 kB / 0.9425 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.6258, allocations: 8 kB / 0.9425 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/0.6262, allocations: 201.6 kB / 0.9427 GB, free: 15.24 MB / 0.7169 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.001402/0.6276, allocations: 1.538 MB / 0.9442 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002441/0.6279, allocations: 122.5 kB / 0.9444 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.628, allocations: 92.75 kB / 0.9444 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005743/0.6286, allocations: 311.2 kB / 0.9447 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.6286, allocations: 30.56 kB / 0.9448 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.372e-06/0.6287, allocations: 0 / 0.9448 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0006987/0.6294, allocations: 265.3 kB / 0.945 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.6294, allocations: 59.41 kB / 0.9451 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002991/0.6297, allocations: 312.5 kB / 0.9454 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.6297, allocations: 25.7 kB / 0.9454 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.6299, allocations: 188.1 kB / 0.9456 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.6299, allocations: 43.3 kB / 0.9456 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/0.63, allocations: 37.7 kB / 0.9457 GB, free: 12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6301, allocations: 334.8 kB / 0.946 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.6302, allocations: 67.89 kB / 0.946 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/0.6304, allocations: 113 kB / 0.9462 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.6308, allocations: 173 kB / 0.9463 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6308, allocations: 3.938 kB / 0.9463 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003962/0.6312, allocations: 217.1 kB / 0.9465 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.6312, allocations: 8.156 kB / 0.9465 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.6312, allocations: 4 kB / 0.9465 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.6312, allocations: 0 / 0.9465 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.6314, allocations: 35.92 kB / 0.9466 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6314, allocations: 0 / 0.9466 GB, free: 11.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.6316, allocations: 31.73 kB / 0.9466 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.6316, allocations: 4 kB / 0.9466 GB, free: 10.97 MB / 0.7169 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.0001304/0.6318, allocations: 157.7 kB / 0.9468 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.6318, allocations: 31.7 kB / 0.9468 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.6322, allocations: 204.6 kB / 0.947 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.6322, allocations: 0 / 0.947 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6323, allocations: 8 kB / 0.947 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.6323, allocations: 0 / 0.947 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009379/0.6332, allocations: 0.6834 MB / 0.9477 GB, free: 9.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6332, allocations: 3.938 kB / 0.9477 GB, free: 9.797 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.6334, allocations: 35.91 kB / 0.9477 GB, free: 9.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.6334, allocations: 4.219 kB / 0.9477 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.6334, allocations: 4 kB / 0.9477 GB, free: 9.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/0.6334, allocations: 7.938 kB / 0.9477 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6334, allocations: 0 / 0.9477 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.6338, allocations: 347.2 kB / 0.948 GB, free: 9.371 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.6339, allocations: 120.8 kB / 0.9482 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.634, allocations: 0 / 0.9482 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.6341, allocations: 15.92 kB / 0.9482 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.6342, allocations: 19.92 kB / 0.9482 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.6342, allocations: 8 kB / 0.9482 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001968/0.6344, allocations: 219.1 kB / 0.9484 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6344, allocations: 0 / 0.9484 GB, free: 8.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003477/0.6348, allocations: 71.89 kB / 0.9485 GB, free: 8.906 MB / 0.7169 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.0003417/0.6351, allocations: 157.2 kB / 0.9486 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.6355, allocations: 164 kB / 0.9488 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.6355, allocations: 4.062 kB / 0.9488 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.6357, allocations: 79.83 kB / 0.9489 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007455/0.6364, allocations: 151.3 kB / 0.949 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008332/0.6373, allocations: 0.5695 MB / 0.9496 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.6376, allocations: 0.7834 MB / 0.9503 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.6377, allocations: 23.44 kB / 0.9503 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of SimCode: time 1.583e-06/0.6377, allocations: 0 / 0.9503 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of Templates: time 0.006644/0.6443, allocations: 4.628 MB / 0.9549 GB, free: 2.336 MB / 0.7169 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)