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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 116.9 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 248.5 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002311/0.002311, allocations: 283 kB / 303.6 MB, free: 3.66 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.007/1.007, allocations: 180.9 MB / 0.5268 GB, free: 2.645 MB / 382.1 MB " [Timeout remaining time 179] 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=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: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 99.84 kB / 0.7259 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5445/0.5472, allocations: 94.15 MB / 0.8179 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1901/0.7372, allocations: 163.8 MB / 0.9778 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005942/0.7432, allocations: 4.599 MB / 0.9823 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003444/0.7435, allocations: 7.938 kB / 0.9823 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004707/0.744, allocations: 131 kB / 0.9824 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001307/0.7453, allocations: 0.5563 MB / 0.983 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.7471, allocations: 0.7821 MB / 0.9837 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007331/0.7478, allocations: 0.5729 MB / 0.9843 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.7482, allocations: 188.8 kB / 0.9845 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009606/0.7491, allocations: 478.2 kB / 0.9849 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005966/0.7497, allocations: 306.9 kB / 0.9852 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.7498, allocations: 19.94 kB / 0.9852 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001799/0.7516, allocations: 1.075 MB / 0.9863 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.7517, allocations: 95.72 kB / 0.9864 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.7518, allocations: 119.4 kB / 0.9865 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.753, allocations: 0.7127 MB / 0.9872 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.753, allocations: 0 / 0.9872 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.753, allocations: 4 kB / 0.9872 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.446e-06/0.753, allocations: 4 kB / 0.9872 GB, free: 3.148 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.001041/0.754, allocations: 0.6027 MB / 0.9878 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.7541, allocations: 12.03 kB / 0.9878 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006673/0.7548, allocations: 83.67 kB / 0.9879 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004251/0.7552, allocations: 299.5 kB / 0.9882 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.211e-05/0.7552, allocations: 15.95 kB / 0.9882 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.7552, allocations: 20 kB / 0.9882 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005199/0.7558, allocations: 283.5 kB / 0.9885 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.7558, allocations: 0 / 0.9885 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.7558, allocations: 4 kB / 0.9885 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.7558, allocations: 7.938 kB / 0.9885 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.7563, allocations: 203.8 kB / 0.9887 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.7579, allocations: 1.246 MB / 0.9899 GB, free: 200 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.7583, allocations: 165.1 kB / 0.99 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.7585, allocations: 116.3 kB / 0.9901 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007631/0.7593, allocations: 335.1 kB / 0.9905 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.7593, allocations: 38.56 kB / 0.9905 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.7593, allocations: 0 / 0.9905 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007857/0.7601, allocations: 281.5 kB / 0.9908 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.922e-05/0.7602, allocations: 162.2 kB / 0.9909 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.7605, allocations: 290.9 kB / 0.9912 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.7605, allocations: 29.7 kB / 0.9912 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.7606, allocations: 144 kB / 0.9914 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.812e-05/0.7607, allocations: 55.53 kB / 0.9914 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.7608, allocations: 37.8 kB / 0.9915 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.7609, allocations: 342.8 kB / 0.9918 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.7611, allocations: 71.88 kB / 0.9919 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.7614, allocations: 138.4 kB / 0.992 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.7618, allocations: 215.5 kB / 0.9922 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7618, allocations: 0 / 0.9922 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00052/0.7623, allocations: 245.2 kB / 0.9924 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7623, allocations: 12.25 kB / 0.9924 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.7623, allocations: 4 kB / 0.9924 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.7623, allocations: 0 / 0.9924 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.7625, allocations: 43.92 kB / 0.9925 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.7625, allocations: 4 kB / 0.9925 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001882/0.7627, allocations: 31.77 kB / 0.9925 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.7628, allocations: 19.92 kB / 0.9925 GB, free: 13.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.0001511/0.7629, allocations: 145.8 kB / 0.9927 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.7631, allocations: 31.86 kB / 0.9927 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004671/0.7635, allocations: 185.8 kB / 0.9929 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.7635, allocations: 0 / 0.9929 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7635, allocations: 4 kB / 0.9929 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7635, allocations: 0 / 0.9929 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.7646, allocations: 0.8549 MB / 0.9937 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7646, allocations: 0 / 0.9937 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.7647, allocations: 23.92 kB / 0.9937 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.022e-06/0.7647, allocations: 7.938 kB / 0.9938 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.7647, allocations: 8 kB / 0.9938 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7647, allocations: 80 / 0.9938 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7647, allocations: 7.984 kB / 0.9938 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006016/0.7653, allocations: 340 kB / 0.9941 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.7655, allocations: 112.9 kB / 0.9942 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.7655, allocations: 8.062 kB / 0.9942 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.7657, allocations: 15.92 kB / 0.9942 GB, free: 11.33 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.801e-05/0.7657, allocations: 16.05 kB / 0.9942 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.7657, allocations: 8 kB / 0.9942 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002535/0.766, allocations: 233.9 kB / 0.9945 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.766, allocations: 0 / 0.9945 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004575/0.7664, allocations: 99.8 kB / 0.9946 GB, free: 10.98 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.0005614/0.767, allocations: 219.4 kB / 0.9948 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004203/0.7674, allocations: 147.8 kB / 0.9949 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7674, allocations: 0 / 0.9949 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.7676, allocations: 59.84 kB / 0.995 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007697/0.7683, allocations: 135.8 kB / 0.9951 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/0.7693, allocations: 0.5323 MB / 0.9956 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.7697, allocations: 0.7597 MB / 0.9964 GB, free: 9.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.7697, allocations: 23.44 kB / 0.9964 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.7697, allocations: 0 / 0.9964 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of Templates: time 0.008435/0.7782, allocations: 5.272 MB / 1.002 GB, free: 3.82 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: 9.662071781931445] Failed to read output from testmodel.py, exit status != 0: 0.7860856580082327 0.798531356 0.042739348 Calling exit ...