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.001339/0.001339, allocations: 78.58 kB / 19 MB, free: 2.867 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.001599/0.001599, allocations: 159.6 kB / 22.25 MB, free: 5.137 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.427/1.427, allocations: 177.2 MB / 202.6 MB, free: 9.258 MB / 190.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.00248/0.00248, allocations: 234.6 kB / 259.2 MB, free: 0.5742 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.084/1.084, allocations: 138.5 MB / 454.2 MB, free: 2.047 MB / 366.1 MB " [Timeout remaining time 179] 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.002998/0.002998, allocations: 107.8 kB / 0.6466 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4447, allocations: 95.35 MB / 0.7397 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.2001/0.6447, allocations: 143.8 MB / 0.8802 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00623/0.651, allocations: 4.232 MB / 0.8843 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000375/0.6513, allocations: 15.88 kB / 0.8843 GB, free: 10.44 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000504/0.6518, allocations: 131 kB / 0.8844 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.6533, allocations: 0.5679 MB / 0.885 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001999/0.6553, allocations: 0.7898 MB / 0.8858 GB, free: 8.953 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007616/0.6561, allocations: 0.5846 MB / 0.8863 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003361/0.6564, allocations: 165.5 kB / 0.8865 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.6575, allocations: 0.5411 MB / 0.887 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006432/0.6582, allocations: 306.9 kB / 0.8873 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.6582, allocations: 16 kB / 0.8873 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.6598, allocations: 0.857 MB / 0.8882 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.6599, allocations: 91.72 kB / 0.8883 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.6601, allocations: 103.5 kB / 0.8884 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.6611, allocations: 0.6827 MB / 0.889 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6611, allocations: 3.938 kB / 0.889 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6611, allocations: 4 kB / 0.889 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.6611, allocations: 4 kB / 0.889 GB, free: 5.598 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.001047/0.6621, allocations: 0.5275 MB / 0.8896 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.6622, allocations: 9.938 kB / 0.8896 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006771/0.6629, allocations: 75.73 kB / 0.8896 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.6633, allocations: 245.6 kB / 0.8899 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.6633, allocations: 12 kB / 0.8899 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.6634, allocations: 20 kB / 0.8899 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.6639, allocations: 283.4 kB / 0.8902 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6639, allocations: 3.984 kB / 0.8902 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.6639, allocations: 4 kB / 0.8902 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.664, allocations: 11.94 kB / 0.8902 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004406/0.6644, allocations: 207.5 kB / 0.8904 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.666, allocations: 1.109 MB / 0.8915 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.6664, allocations: 165 kB / 0.8916 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.6666, allocations: 108.4 kB / 0.8917 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007138/0.6673, allocations: 103.8 kB / 0.8918 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.6673, allocations: 46.48 kB / 0.8919 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.6673, allocations: 4 kB / 0.8919 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007931/0.6681, allocations: 273.2 kB / 0.8921 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.6683, allocations: 154.2 kB / 0.8923 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.6685, allocations: 203.2 kB / 0.8925 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.6685, allocations: 33.7 kB / 0.8925 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.6686, allocations: 160.8 kB / 0.8927 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/0.6687, allocations: 47.64 kB / 0.8927 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.6688, allocations: 41.7 kB / 0.8928 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.669, allocations: 334.8 kB / 0.8931 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.6691, allocations: 71.88 kB / 0.8931 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.6695, allocations: 243.3 kB / 0.8934 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000467/0.6699, allocations: 215.5 kB / 0.8936 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6699, allocations: 0 / 0.8936 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005334/0.6705, allocations: 245.4 kB / 0.8938 GB, free: 332 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.6705, allocations: 8 kB / 0.8938 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6705, allocations: 0 / 0.8938 GB, free: 324 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.6705, allocations: 4 kB / 0.8938 GB, free: 320 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.6707, allocations: 35.92 kB / 0.8939 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.6707, allocations: 4 kB / 0.8939 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001705/0.6709, allocations: 23.88 kB / 0.8939 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.6709, allocations: 19.92 kB / 0.8939 GB, free: 236 kB / 0.7169 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.0001595/0.6711, allocations: 153.8 kB / 0.894 GB, free: 72 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.6712, allocations: 15.91 kB / 0.8941 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.6717, allocations: 185.5 kB / 0.8942 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6717, allocations: 0 / 0.8942 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.6717, allocations: 8.062 kB / 0.8942 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.6717, allocations: 3.984 kB / 0.8943 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001064/0.6728, allocations: 0.7727 MB / 0.895 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6728, allocations: 4 kB / 0.895 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.6729, allocations: 28.08 kB / 0.895 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.6729, allocations: 8 kB / 0.895 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.673, allocations: 384 / 0.895 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.673, allocations: 7.938 kB / 0.8951 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.673, allocations: 0 / 0.8951 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005946/0.6736, allocations: 331.5 kB / 0.8954 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.6736, allocations: 31.86 kB / 0.8954 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.396e-05/0.6737, allocations: 4 kB / 0.8954 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.6738, allocations: 19.98 kB / 0.8954 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.6739, allocations: 19.95 kB / 0.8954 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.6739, allocations: 4 kB / 0.8954 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001869/0.6741, allocations: 173.2 kB / 0.8956 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.6741, allocations: 0 / 0.8956 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005135/0.6746, allocations: 107.8 kB / 0.8957 GB, free: 14.27 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.0004709/0.6751, allocations: 194.9 kB / 0.8959 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.6755, allocations: 151.7 kB / 0.896 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6755, allocations: 0 / 0.896 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.6756, allocations: 60.47 kB / 0.8961 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000534/0.6761, allocations: 77.3 kB / 0.8962 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009103/0.6771, allocations: 0.492 MB / 0.8967 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.6772, allocations: 149.8 kB / 0.8968 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.6774, allocations: 49.55 kB / 0.8968 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/0.6774, allocations: 20.5 kB / 0.8969 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.6774, allocations: 0 / 0.8969 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of Templates: time 0.009778/0.6872, allocations: 4.395 MB / 0.9012 GB, free: 8.723 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: 6.306912716478109] Failed to read output from testmodel.py, exit status != 0: 0.6963880993425846 0.71122811 0.046885510000000005 Calling exit ...