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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 214 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00262/0.00262, allocations: 287.5 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.328/1.328, allocations: 180.6 MB / 0.5369 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002948, allocations: 103.3 kB / 0.74 GB, free: 27.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2191, allocations: 95.38 MB / 0.8331 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1965/0.4156, allocations: 143.9 MB / 0.9737 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006445/0.422, allocations: 4.226 MB / 0.9778 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004575/0.4225, allocations: 15.88 kB / 0.9778 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.423, allocations: 131 kB / 0.9779 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.4247, allocations: 0.5602 MB / 0.9785 GB, free: 2.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.4268, allocations: 0.7933 MB / 0.9792 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008179/0.4276, allocations: 0.5846 MB / 0.9798 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.4279, allocations: 169.4 kB / 0.98 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.429, allocations: 478.2 kB / 0.9804 GB, free: 404 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006447/0.4296, allocations: 318.8 kB / 0.9807 GB, free: 84 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.4297, allocations: 16 kB / 0.9808 GB, free: 68 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.536/0.9656, allocations: 0.8432 MB / 0.9816 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002513/0.9659, allocations: 95 kB / 0.9817 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002372/0.9661, allocations: 100.3 kB / 0.9818 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.9676, allocations: 0.6829 MB / 0.9824 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9676, allocations: 0 / 0.9824 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9676, allocations: 0 / 0.9824 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.9677, allocations: 0.9375 kB / 0.9824 GB, free: 4.98 MB / 0.7169 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.001208/0.9689, allocations: 0.5337 MB / 0.9829 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.9689, allocations: 11.84 kB / 0.983 GB, free: 20.6 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007029/0.9696, allocations: 80.02 kB / 0.983 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.9701, allocations: 239.5 kB / 0.9833 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.9701, allocations: 15.58 kB / 0.9833 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.9702, allocations: 20 kB / 0.9833 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005149/0.9707, allocations: 284 kB / 0.9836 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.9707, allocations: 0.9688 kB / 0.9836 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.9707, allocations: 13.59 kB / 0.9836 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.9707, allocations: 4.719 kB / 0.9836 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004433/0.9712, allocations: 209.4 kB / 0.9838 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.9728, allocations: 1.101 MB / 0.9849 GB, free: 19.58 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002918/0.9731, allocations: 172.2 kB / 0.985 GB, free: 19.46 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.9733, allocations: 109.9 kB / 0.9851 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006159/0.9739, allocations: 105.4 kB / 0.9852 GB, free: 19.42 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/0.9739, allocations: 38.16 kB / 0.9853 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.9739, allocations: 0 / 0.9853 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007636/0.9747, allocations: 276.9 kB / 0.9855 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.602e-05/0.9748, allocations: 157.8 kB / 0.9857 GB, free: 19.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.975, allocations: 208.5 kB / 0.9859 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.9751, allocations: 30.45 kB / 0.9859 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.9752, allocations: 157.8 kB / 0.9861 GB, free: 18.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.9752, allocations: 55.77 kB / 0.9861 GB, free: 18.87 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.9753, allocations: 42.66 kB / 0.9862 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.9755, allocations: 333.3 kB / 0.9865 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001607/0.9756, allocations: 65.75 kB / 0.9865 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.9759, allocations: 250.3 kB / 0.9868 GB, free: 18.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.9763, allocations: 207.6 kB / 0.987 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.9764, allocations: 0 / 0.987 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005551/0.9769, allocations: 238 kB / 0.9872 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.9769, allocations: 7.078 kB / 0.9872 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9769, allocations: 1.781 kB / 0.9872 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.977, allocations: 5.859 kB / 0.9872 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.9772, allocations: 38.36 kB / 0.9873 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.9772, allocations: 3.859 kB / 0.9873 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/0.9773, allocations: 24.28 kB / 0.9873 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.882e-05/0.9774, allocations: 18.53 kB / 0.9873 GB, free: 18.21 MB / 0.7325 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.0001646/0.9775, allocations: 146.3 kB / 0.9874 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.9777, allocations: 25.5 kB / 0.9875 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.9782, allocations: 180.9 kB / 0.9876 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.9782, allocations: 2.312 kB / 0.9876 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.9782, allocations: 3.094 kB / 0.9876 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.9782, allocations: 5.359 kB / 0.9876 GB, free: 18.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.9793, allocations: 0.7839 MB / 0.9884 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.9793, allocations: 2.922 kB / 0.9884 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.9794, allocations: 23.16 kB / 0.9884 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.9794, allocations: 1.281 kB / 0.9884 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.9794, allocations: 12.11 kB / 0.9884 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.9794, allocations: 2.969 kB / 0.9884 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.9794, allocations: 5.5 kB / 0.9885 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005673/0.98, allocations: 328.6 kB / 0.9888 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/0.98, allocations: 28.42 kB / 0.9888 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.9801, allocations: 8.734 kB / 0.9888 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.9802, allocations: 11.89 kB / 0.9888 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.9803, allocations: 14.33 kB / 0.9888 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.9803, allocations: 3.781 kB / 0.9888 GB, free: 17.26 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001645/0.9804, allocations: 175.6 kB / 0.989 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9804, allocations: 1.094 kB / 0.989 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005583/0.981, allocations: 108.8 kB / 0.9891 GB, free: 17.16 MB / 0.7325 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.000426/0.9814, allocations: 201.3 kB / 0.9893 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003983/0.9818, allocations: 145.7 kB / 0.9894 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.9818, allocations: 2.719 kB / 0.9894 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.982, allocations: 57.92 kB / 0.9895 GB, free: 17.06 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.9825, allocations: 86 kB / 0.9896 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008732/0.9834, allocations: 489.5 kB / 0.99 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.9835, allocations: 148.8 kB / 0.9902 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.9837, allocations: 52.08 kB / 0.9902 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.28e-05/0.9838, allocations: 26.41 kB / 0.9903 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.9838, allocations: 0.9062 kB / 0.9903 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.01098/0.9947, allocations: 4.692 MB / 0.9948 GB, free: 16.5 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.420071374624968] Failed to read output from testmodel.py, exit status != 0: 1.0030551701784134 1.019456477 0.048592032 Calling exit ...