Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 107.9 kB / 16.27 MB, free: 5.984 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.001427/0.001427, allocations: 189 kB / 17.2 MB, free: 5.609 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002411/0.002411, allocations: 286.2 kB / 291.3 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.161/1.161, allocations: 178.5 MB / 0.5079 GB, free: 12.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002624/0.002624, allocations: 99.84 kB / 0.6071 GB, free: 9.266 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1761, allocations: 89.14 MB / 0.6942 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.4429/0.619, allocations: 163.2 MB / 0.8536 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006349/0.6254, allocations: 4.579 MB / 0.858 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004691/0.6259, allocations: 10.81 kB / 0.858 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0004902/0.6265, allocations: 120.8 kB / 0.8582 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.6279, allocations: 0.5394 MB / 0.8587 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.6299, allocations: 0.7681 MB / 0.8594 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0007368/0.6307, allocations: 0.582 MB / 0.86 GB, free: 14 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.6311, allocations: 213.7 kB / 0.8602 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009714/0.6321, allocations: 467.8 kB / 0.8606 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005558/0.6326, allocations: 282.2 kB / 0.8609 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.6327, allocations: 19 kB / 0.8609 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001846/0.6345, allocations: 1 MB / 0.8619 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.6347, allocations: 90.44 kB / 0.862 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.6348, allocations: 125.8 kB / 0.8621 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.636, allocations: 0.7094 MB / 0.8628 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.636, allocations: 2.75 kB / 0.8628 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.636, allocations: 0 / 0.8628 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.636, allocations: 0 / 0.8628 GB, free: 12.3 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009738/0.637, allocations: 0.5896 MB / 0.8634 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.637, allocations: 14.97 kB / 0.8634 GB, free: 11.76 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006446/0.6377, allocations: 82.55 kB / 0.8635 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003925/0.6381, allocations: 281.5 kB / 0.8637 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.6381, allocations: 14.78 kB / 0.8638 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.6382, allocations: 18.47 kB / 0.8638 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.6386, allocations: 286.1 kB / 0.8641 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.6386, allocations: 3.938 kB / 0.8641 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.6387, allocations: 7.094 kB / 0.8641 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.6387, allocations: 8.719 kB / 0.8641 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.6391, allocations: 200.7 kB / 0.8643 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.6408, allocations: 1.254 MB / 0.8655 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.6411, allocations: 172.4 kB / 0.8657 GB, free: 9.816 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.6413, allocations: 109.6 kB / 0.8658 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007511/0.642, allocations: 338.1 kB / 0.8661 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/0.6421, allocations: 41.52 kB / 0.8661 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.6421, allocations: 0 / 0.8661 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of matching and sorting (n=13): time 0.0007661/0.6429, allocations: 275.3 kB / 0.8664 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.643, allocations: 161.6 kB / 0.8665 GB, free: 9.023 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.6433, allocations: 289.2 kB / 0.8668 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.805e-05/0.6434, allocations: 25.7 kB / 0.8668 GB, free: 8.801 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.6435, allocations: 145.4 kB / 0.867 GB, free: 8.668 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.184e-05/0.6435, allocations: 44.33 kB / 0.867 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.6436, allocations: 45.27 kB / 0.8671 GB, free: 8.594 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.6438, allocations: 338.9 kB / 0.8674 GB, free: 8.262 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.644, allocations: 65.7 kB / 0.8674 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.6442, allocations: 149.5 kB / 0.8676 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/0.6446, allocations: 213.2 kB / 0.8678 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6446, allocations: 5.688 kB / 0.8678 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005291/0.6452, allocations: 241.2 kB / 0.868 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6452, allocations: 7.938 kB / 0.868 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.6452, allocations: 4 kB / 0.868 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.6452, allocations: 0 / 0.868 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.6454, allocations: 48.16 kB / 0.8681 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6454, allocations: 0.5469 kB / 0.8681 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.6457, allocations: 35.67 kB / 0.8681 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.6457, allocations: 8 kB / 0.8681 GB, free: 7.633 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001486/0.6458, allocations: 153.7 kB / 0.8683 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.646, allocations: 27.7 kB / 0.8683 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/0.6465, allocations: 187.2 kB / 0.8685 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.6465, allocations: 4 kB / 0.8685 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.6465, allocations: 0.625 kB / 0.8685 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.6465, allocations: 4 kB / 0.8685 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.6476, allocations: 0.8514 MB / 0.8693 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.6476, allocations: 4.156 kB / 0.8693 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.6477, allocations: 32.3 kB / 0.8694 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.6477, allocations: 3.938 kB / 0.8694 GB, free: 6.277 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.6478, allocations: 10.67 kB / 0.8694 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.6478, allocations: 0 / 0.8694 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.6478, allocations: 7.938 kB / 0.8694 GB, free: 6.262 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005998/0.6484, allocations: 335.4 kB / 0.8697 GB, free: 5.902 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.6485, allocations: 112.8 kB / 0.8698 GB, free: 5.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.6486, allocations: 7.938 kB / 0.8698 GB, free: 5.766 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.6487, allocations: 11.98 kB / 0.8698 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.6488, allocations: 8.062 kB / 0.8698 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.6488, allocations: 7.984 kB / 0.8698 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000253/0.649, allocations: 241.9 kB / 0.8701 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.649, allocations: 0 / 0.8701 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004892/0.6495, allocations: 84 kB / 0.8701 GB, free: 5.422 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0005782/0.6501, allocations: 221.8 kB / 0.8704 GB, free: 5.207 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004218/0.6506, allocations: 152.9 kB / 0.8705 GB, free: 5.059 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6506, allocations: 4.188 kB / 0.8705 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.6507, allocations: 63.83 kB / 0.8706 GB, free: 4.992 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007869/0.6515, allocations: 137.9 kB / 0.8707 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.6525, allocations: 0.5389 MB / 0.8712 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.6529, allocations: 0.7558 MB / 0.872 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.352e-05/0.653, allocations: 27.42 kB / 0.872 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of SimCode: time 3.6e-07/0.653, allocations: 0 / 0.872 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.008929/0.6619, allocations: 5.235 MB / 0.8771 GB, free: 14.31 MB / 0.6387 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1)