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.001701/0.001701, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001966/0.001966, allocations: 193.5 kB / 16.14 MB, free: 6.637 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.539/1.539, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002742/0.002742, allocations: 290.1 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002694, allocations: 95.22 kB / 0.6057 GB, free: 25.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1912, allocations: 89.16 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.53/0.7213, allocations: 161 MB / 0.85 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006019/0.7274, allocations: 4.622 MB / 0.8545 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.7278, allocations: 9.219 kB / 0.8545 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004784/0.7283, allocations: 96.95 kB / 0.8546 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001315/0.7297, allocations: 0.5068 MB / 0.8551 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002089/0.7318, allocations: 0.7265 MB / 0.8558 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009141/0.7327, allocations: 0.8036 MB / 0.8566 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003221/0.7331, allocations: 180 kB / 0.8568 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009727/0.734, allocations: 430.8 kB / 0.8572 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/0.7347, allocations: 287.8 kB / 0.8575 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.7347, allocations: 12.88 kB / 0.8575 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.7366, allocations: 1.161 MB / 0.8586 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.7367, allocations: 82.25 kB / 0.8587 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001462/0.7368, allocations: 127.2 kB / 0.8588 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.7379, allocations: 0.7658 MB / 0.8596 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7379, allocations: 0 / 0.8596 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.012e-06/0.738, allocations: 0 / 0.8596 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.738, allocations: 0 / 0.8596 GB, free: 12.51 MB / 0.5919 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.001067/0.739, allocations: 0.5992 MB / 0.8601 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.7391, allocations: 10.06 kB / 0.8601 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007208/0.7398, allocations: 83.14 kB / 0.8602 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000421/0.7402, allocations: 282.5 kB / 0.8605 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.7403, allocations: 12.91 kB / 0.8605 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.7403, allocations: 20.56 kB / 0.8605 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.7409, allocations: 282 kB / 0.8608 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7409, allocations: 4 kB / 0.8608 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.7409, allocations: 10.8 kB / 0.8608 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.7409, allocations: 8.656 kB / 0.8608 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000432/0.7414, allocations: 207.3 kB / 0.861 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.7432, allocations: 1.247 MB / 0.8622 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.7435, allocations: 179.5 kB / 0.8624 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.7437, allocations: 112.4 kB / 0.8625 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007996/0.7445, allocations: 328.7 kB / 0.8628 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.7446, allocations: 43.88 kB / 0.8629 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.7446, allocations: 0 / 0.8629 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007643/0.7453, allocations: 279.9 kB / 0.8631 GB, free: 9.406 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.7455, allocations: 162.9 kB / 0.8633 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.7458, allocations: 279.7 kB / 0.8636 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.297e-05/0.7458, allocations: 30.2 kB / 0.8636 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.746, allocations: 148.5 kB / 0.8637 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.746, allocations: 54.84 kB / 0.8638 GB, free: 8.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.117e-05/0.7461, allocations: 40.67 kB / 0.8638 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.7463, allocations: 339.4 kB / 0.8641 GB, free: 8.453 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.7465, allocations: 69.84 kB / 0.8642 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.7467, allocations: 152.2 kB / 0.8644 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.7471, allocations: 210.4 kB / 0.8646 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7471, allocations: 0 / 0.8646 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005127/0.7476, allocations: 244.9 kB / 0.8648 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7477, allocations: 4.719 kB / 0.8648 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.7477, allocations: 2.188 kB / 0.8648 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.7477, allocations: 2.906 kB / 0.8648 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001967/0.7479, allocations: 42.09 kB / 0.8648 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.7479, allocations: 6.188 kB / 0.8648 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.7481, allocations: 34.11 kB / 0.8649 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.7482, allocations: 15.67 kB / 0.8649 GB, free: 7.965 MB / 0.5919 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.0001602/0.7483, allocations: 147.6 kB / 0.865 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.7485, allocations: 24.09 kB / 0.8651 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004957/0.749, allocations: 188.7 kB / 0.8652 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.749, allocations: 1.938 kB / 0.8652 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.749, allocations: 4.844 kB / 0.8652 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.749, allocations: 0 / 0.8652 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.7501, allocations: 0.8605 MB / 0.8661 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7501, allocations: 2.562 kB / 0.8661 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.7503, allocations: 21.92 kB / 0.8661 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.7503, allocations: 4.094 kB / 0.8661 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.7503, allocations: 17.06 kB / 0.8661 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.7503, allocations: 0 / 0.8661 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7503, allocations: 10.67 kB / 0.8661 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.7509, allocations: 333.5 kB / 0.8665 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.751, allocations: 114.6 kB / 0.8666 GB, free: 6.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.7511, allocations: 12.34 kB / 0.8666 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.7513, allocations: 11.86 kB / 0.8666 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.7513, allocations: 8.312 kB / 0.8666 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.7514, allocations: 7.125 kB / 0.8666 GB, free: 6.434 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002586/0.7516, allocations: 237.8 kB / 0.8668 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7516, allocations: 0 / 0.8668 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004791/0.7521, allocations: 91.83 kB / 0.8669 GB, free: 6.27 MB / 0.5919 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.0006093/0.7527, allocations: 224.4 kB / 0.8671 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004053/0.7531, allocations: 143.2 kB / 0.8673 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.7532, allocations: 0 / 0.8673 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001555/0.7533, allocations: 65.17 kB / 0.8673 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008153/0.7541, allocations: 133.8 kB / 0.8675 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009575/0.7551, allocations: 0.5518 MB / 0.868 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.7556, allocations: 0.764 MB / 0.8687 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.7558, allocations: 64.59 kB / 0.8688 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.7558, allocations: 30.83 kB / 0.8688 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.7558, allocations: 0 / 0.8688 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of Templates: time 0.01115/0.767, allocations: 5.587 MB / 0.8743 GB, free: 1.773 MB / 0.5919 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)