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.001029/0.001029, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001075/0.001075, allocations: 191.2 kB / 16.25 MB, free: 6.621 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 290.4 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.98/0.98, allocations: 169.2 MB / 0.4978 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 96.45 kB / 0.5947 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1915, allocations: 86.98 MB / 0.6796 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5117/0.7033, allocations: 165.3 MB / 0.841 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007077/0.7104, allocations: 6.486 MB / 0.8473 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006047/0.7111, allocations: 10.88 kB / 0.8474 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005631/0.7117, allocations: 142.8 kB / 0.8475 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002342/0.714, allocations: 0.7845 MB / 0.8483 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009712/0.715, allocations: 301.9 kB / 0.8485 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008395/0.7159, allocations: 0.7229 MB / 0.8493 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004012/0.7163, allocations: 261.5 kB / 0.8495 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.7175, allocations: 0.5591 MB / 0.85 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004328/0.718, allocations: 284.5 kB / 0.8503 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.741e-05/0.718, allocations: 23.19 kB / 0.8503 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000613/0.7186, allocations: 350.1 kB / 0.8507 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.7188, allocations: 112.8 kB / 0.8508 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.7189, allocations: 163.6 kB / 0.8509 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.7195, allocations: 492.9 kB / 0.8514 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7195, allocations: 0 / 0.8514 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.363e-06/0.7195, allocations: 0 / 0.8514 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.423e-06/0.7195, allocations: 0 / 0.8514 GB, free: 12.28 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.0007953/0.7203, allocations: 0.6168 MB / 0.852 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.7204, allocations: 8.094 kB / 0.852 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000282/0.7207, allocations: 66.66 kB / 0.8521 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.721, allocations: 310.1 kB / 0.8524 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.721, allocations: 18.94 kB / 0.8524 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.7211, allocations: 30.88 kB / 0.8524 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.7216, allocations: 316.9 kB / 0.8527 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.7216, allocations: 3.938 kB / 0.8527 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.7216, allocations: 11.47 kB / 0.8527 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.7217, allocations: 7.188 kB / 0.8527 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.722, allocations: 196.8 kB / 0.8529 GB, free: 11.07 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.001527/0.7236, allocations: 1.534 MB / 0.8544 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.7238, allocations: 123.1 kB / 0.8546 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001605/0.724, allocations: 89.7 kB / 0.8546 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/0.7246, allocations: 300.2 kB / 0.8549 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.7247, allocations: 34.56 kB / 0.855 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.7247, allocations: 0 / 0.855 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007219/0.7254, allocations: 270.8 kB / 0.8552 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.7255, allocations: 54.38 kB / 0.8553 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.7257, allocations: 312.9 kB / 0.8556 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.7258, allocations: 37.64 kB / 0.8556 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.7259, allocations: 182.2 kB / 0.8558 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.7259, allocations: 46.12 kB / 0.8558 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.726, allocations: 37.27 kB / 0.8559 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.7262, allocations: 338.2 kB / 0.8562 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001405/0.7263, allocations: 58.67 kB / 0.8562 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/0.7265, allocations: 111.7 kB / 0.8563 GB, free: 8.027 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.7268, allocations: 178.2 kB / 0.8565 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.7268, allocations: 4.625 kB / 0.8565 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003979/0.7272, allocations: 218.9 kB / 0.8567 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.7273, allocations: 7.906 kB / 0.8567 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7273, allocations: 2.875 kB / 0.8567 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.7273, allocations: 6.969 kB / 0.8567 GB, free: 7.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.7275, allocations: 29.14 kB / 0.8568 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.7275, allocations: 6.406 kB / 0.8568 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.7277, allocations: 38.5 kB / 0.8568 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.7277, allocations: 7.812 kB / 0.8568 GB, free: 7.742 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.0001508/0.7279, allocations: 148.4 kB / 0.857 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.728, allocations: 32.66 kB / 0.857 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004396/0.7284, allocations: 212 kB / 0.8572 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.7284, allocations: 2.812 kB / 0.8572 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.7284, allocations: 0 / 0.8572 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.7284, allocations: 0 / 0.8572 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.7295, allocations: 0.6845 MB / 0.8579 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.7295, allocations: 2.125 kB / 0.8579 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.7297, allocations: 28.11 kB / 0.8579 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.7297, allocations: 10.72 kB / 0.8579 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.7297, allocations: 8.312 kB / 0.8579 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.714e-06/0.7297, allocations: 16.23 kB / 0.8579 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7297, allocations: 0 / 0.8579 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.7302, allocations: 336.9 kB / 0.8582 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.7303, allocations: 117.1 kB / 0.8584 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.7303, allocations: 7 kB / 0.8584 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.7305, allocations: 21.7 kB / 0.8584 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.7306, allocations: 19.11 kB / 0.8584 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.7306, allocations: 5.75 kB / 0.8584 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002318/0.7309, allocations: 227.8 kB / 0.8586 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7309, allocations: 0 / 0.8586 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004005/0.7313, allocations: 72.22 kB / 0.8587 GB, free: 6.27 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.000394/0.7317, allocations: 152.5 kB / 0.8588 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.7321, allocations: 163.9 kB / 0.859 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.7321, allocations: 0 / 0.859 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001736/0.7323, allocations: 80.77 kB / 0.8591 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.7331, allocations: 154.2 kB / 0.8592 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009585/0.7341, allocations: 0.633 MB / 0.8598 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004083/0.7345, allocations: 0.7814 MB / 0.8606 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002304/0.7347, allocations: 63.42 kB / 0.8607 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.927e-05/0.7348, allocations: 22.41 kB / 0.8607 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.7348, allocations: 2.625 kB / 0.8607 GB, free: 4.703 MB / 0.5762 GB Notification: Performance of Templates: time 0.01017/0.745, allocations: 5.05 MB / 0.8656 GB, free: 2.242 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)