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.001648/0.001655, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.002081/0.002081, allocations: 191.3 kB / 16.14 MB, free: 6.734 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.358/1.358, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002027/0.002027, allocations: 279.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9348/0.9348, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 92.22 kB / 0.5945 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1727, allocations: 86.99 MB / 0.6794 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5289/0.7016, allocations: 165.3 MB / 0.8408 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006826/0.7085, allocations: 6.549 MB / 0.8472 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007632/0.7093, allocations: 10.59 kB / 0.8473 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006281/0.71, allocations: 132.8 kB / 0.8474 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002492/0.7125, allocations: 0.7901 MB / 0.8482 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009077/0.7134, allocations: 299.8 kB / 0.8484 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.7146, allocations: 1.01 MB / 0.8494 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003721/0.715, allocations: 236 kB / 0.8496 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.7161, allocations: 0.5113 MB / 0.8501 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.7164, allocations: 280.9 kB / 0.8504 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.7165, allocations: 15.34 kB / 0.8504 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007194/0.7172, allocations: 394.6 kB / 0.8508 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.7173, allocations: 104.5 kB / 0.8509 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.7175, allocations: 159.2 kB / 0.8511 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005911/0.7181, allocations: 477.2 kB / 0.8515 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.7181, allocations: 3.938 kB / 0.8515 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.51e-07/0.7181, allocations: 0 / 0.8515 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.7181, allocations: 0 / 0.8515 GB, free: 11.84 MB / 0.5762 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.0008856/0.719, allocations: 0.6131 MB / 0.8521 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.7191, allocations: 10.47 kB / 0.8521 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.7194, allocations: 60.59 kB / 0.8522 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003596/0.7198, allocations: 317.8 kB / 0.8525 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.7198, allocations: 19.5 kB / 0.8525 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.532e-05/0.7199, allocations: 23.28 kB / 0.8525 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.7204, allocations: 317.8 kB / 0.8528 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.7204, allocations: 3.984 kB / 0.8528 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.7204, allocations: 13 kB / 0.8528 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.7205, allocations: 5.625 kB / 0.8529 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.7209, allocations: 200.7 kB / 0.853 GB, free: 10.62 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.001436/0.7223, allocations: 1.526 MB / 0.8545 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.7226, allocations: 127.9 kB / 0.8547 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001699/0.7227, allocations: 101 kB / 0.8548 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006646/0.7234, allocations: 299.8 kB / 0.855 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.7235, allocations: 38.55 kB / 0.8551 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.7235, allocations: 2.031 kB / 0.8551 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007186/0.7242, allocations: 268.2 kB / 0.8553 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.7242, allocations: 54.22 kB / 0.8554 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002785/0.7245, allocations: 319 kB / 0.8557 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.7246, allocations: 29.7 kB / 0.8557 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.7247, allocations: 181.6 kB / 0.8559 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.7247, allocations: 44.27 kB / 0.8559 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.422e-05/0.7248, allocations: 36.45 kB / 0.856 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.7249, allocations: 336.2 kB / 0.8563 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.7251, allocations: 64.36 kB / 0.8563 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001829/0.7253, allocations: 113.4 kB / 0.8565 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.7256, allocations: 178.3 kB / 0.8566 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7256, allocations: 0 / 0.8566 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003932/0.726, allocations: 219 kB / 0.8568 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.726, allocations: 7.469 kB / 0.8568 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.726, allocations: 0 / 0.8568 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.726, allocations: 6.906 kB / 0.8569 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.7262, allocations: 37 kB / 0.8569 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7262, allocations: 1.938 kB / 0.8569 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.7264, allocations: 35.52 kB / 0.8569 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.7265, allocations: 5.062 kB / 0.8569 GB, free: 7.297 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.0001437/0.7266, allocations: 159.1 kB / 0.8571 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.7267, allocations: 31.84 kB / 0.8571 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.7271, allocations: 203.3 kB / 0.8573 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.7272, allocations: 2.406 kB / 0.8573 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.7272, allocations: 0 / 0.8573 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.7272, allocations: 0 / 0.8573 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009738/0.7282, allocations: 0.6812 MB / 0.858 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.7282, allocations: 2.625 kB / 0.858 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.7283, allocations: 38.47 kB / 0.858 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.7283, allocations: 6.094 kB / 0.858 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.7283, allocations: 4.438 kB / 0.858 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.7284, allocations: 6.719 kB / 0.858 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.7284, allocations: 2.094 kB / 0.858 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.7288, allocations: 335.2 kB / 0.8583 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.7289, allocations: 119.6 kB / 0.8585 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.7289, allocations: 6.406 kB / 0.8585 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.7291, allocations: 21.89 kB / 0.8585 GB, free: 6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.7292, allocations: 17.17 kB / 0.8585 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.7292, allocations: 10.31 kB / 0.8585 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000229/0.7294, allocations: 226.9 kB / 0.8587 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7294, allocations: 0 / 0.8587 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003693/0.7298, allocations: 69.5 kB / 0.8588 GB, free: 5.828 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.0003414/0.7301, allocations: 162.7 kB / 0.859 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.7305, allocations: 157.1 kB / 0.8591 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7305, allocations: 0 / 0.8591 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.7307, allocations: 84.77 kB / 0.8592 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.7316, allocations: 149.4 kB / 0.8593 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009306/0.7325, allocations: 0.6218 MB / 0.8599 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.7329, allocations: 0.7849 MB / 0.8607 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002035/0.7331, allocations: 62.5 kB / 0.8608 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.474e-05/0.7332, allocations: 24.53 kB / 0.8608 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of SimCode: time 1.493e-06/0.7332, allocations: 0 / 0.8608 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of Templates: time 0.008924/0.7421, allocations: 4.889 MB / 0.8656 GB, free: 1.875 MB / 0.5762 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)