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.00132/0.00132, allocations: 78.09 kB / 19.76 MB, free: 2.031 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.002271/0.002271, allocations: 161.8 kB / 23.01 MB, free: 4.945 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.419/1.419, allocations: 177.2 MB / 203.4 MB, free: 8.945 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.00351/0.00351, allocations: 234.1 kB / 260 MB, free: 440 kB / 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 0.9347/0.9347, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.003352/0.003352, allocations: 104.3 kB / 0.6474 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4883/0.4917, allocations: 95.34 MB / 0.7405 GB, free: 17.41 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.1999/0.6916, allocations: 143.9 MB / 0.881 GB, free: 2.48 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.006369/0.6979, allocations: 4.23 MB / 0.8851 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003614/0.6983, allocations: 15.88 kB / 0.8851 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004919/0.6988, allocations: 131 kB / 0.8852 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00154/0.7003, allocations: 0.5641 MB / 0.8858 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001975/0.7023, allocations: 0.7941 MB / 0.8866 GB, free: 12.74 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007792/0.7031, allocations: 0.5808 MB / 0.8871 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.7034, allocations: 177.4 kB / 0.8873 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009786/0.7044, allocations: 474.3 kB / 0.8878 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006029/0.705, allocations: 306.8 kB / 0.8881 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.705, allocations: 20 kB / 0.8881 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.7066, allocations: 0.8492 MB / 0.8889 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.7068, allocations: 95.7 kB / 0.889 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.7069, allocations: 103.5 kB / 0.8891 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001115/0.708, allocations: 0.6822 MB / 0.8898 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.708, allocations: 0 / 0.8898 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.543e-06/0.708, allocations: 4 kB / 0.8898 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.708, allocations: 0 / 0.8898 GB, free: 9.469 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.0009378/0.709, allocations: 0.5313 MB / 0.8903 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.709, allocations: 13.34 kB / 0.8903 GB, free: 8.895 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006749/0.7097, allocations: 75.73 kB / 0.8904 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004179/0.7101, allocations: 233.7 kB / 0.8906 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.7101, allocations: 16 kB / 0.8906 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.45e-05/0.7102, allocations: 16 kB / 0.8906 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.7107, allocations: 291.4 kB / 0.8909 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.7107, allocations: 3.984 kB / 0.8909 GB, free: 8.219 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.7107, allocations: 15.94 kB / 0.8909 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.7107, allocations: 11.92 kB / 0.8909 GB, free: 8.191 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.7112, allocations: 207.5 kB / 0.8911 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001501/0.7127, allocations: 1.097 MB / 0.8922 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/0.713, allocations: 173 kB / 0.8924 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.7132, allocations: 112.2 kB / 0.8925 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/0.7139, allocations: 103.9 kB / 0.8926 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.7139, allocations: 38.69 kB / 0.8926 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.7139, allocations: 0 / 0.8926 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0007964/0.7147, allocations: 277.1 kB / 0.8929 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.557e-05/0.7148, allocations: 158.2 kB / 0.893 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.715, allocations: 203.2 kB / 0.8932 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.715, allocations: 26.2 kB / 0.8932 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.7152, allocations: 168.3 kB / 0.8934 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.347e-05/0.7152, allocations: 47.62 kB / 0.8934 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.7153, allocations: 41.7 kB / 0.8935 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002083/0.7155, allocations: 330.8 kB / 0.8938 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.7157, allocations: 67.94 kB / 0.8939 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.716, allocations: 255.2 kB / 0.8941 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.7164, allocations: 211.5 kB / 0.8943 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.7164, allocations: 0 / 0.8943 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000549/0.7169, allocations: 245.3 kB / 0.8945 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.717, allocations: 4 kB / 0.8945 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.717, allocations: 4 kB / 0.8946 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.717, allocations: 0 / 0.8946 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.7172, allocations: 43.97 kB / 0.8946 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.7172, allocations: 3.938 kB / 0.8946 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.7174, allocations: 23.88 kB / 0.8946 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.7174, allocations: 12.19 kB / 0.8946 GB, free: 4.094 MB / 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.0001682/0.7176, allocations: 145.8 kB / 0.8948 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/0.7177, allocations: 23.91 kB / 0.8948 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006088/0.7183, allocations: 189.4 kB / 0.895 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.7183, allocations: 4 kB / 0.895 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7183, allocations: 0 / 0.895 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7183, allocations: 0 / 0.895 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.7194, allocations: 0.7805 MB / 0.8957 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7194, allocations: 4.156 kB / 0.8957 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.7195, allocations: 19.98 kB / 0.8958 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.7195, allocations: 4 kB / 0.8958 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.7195, allocations: 4 kB / 0.8958 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.7195, allocations: 7.875 kB / 0.8958 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.7195, allocations: 0 / 0.8958 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.7201, allocations: 335.9 kB / 0.8961 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.7202, allocations: 32.02 kB / 0.8961 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.7202, allocations: 7.938 kB / 0.8961 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.7203, allocations: 15.92 kB / 0.8962 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.7204, allocations: 7.984 kB / 0.8962 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-06/0.7204, allocations: 4 kB / 0.8962 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001852/0.7206, allocations: 173.2 kB / 0.8963 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7206, allocations: 0 / 0.8963 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005196/0.7211, allocations: 107.8 kB / 0.8964 GB, free: 2.148 MB / 0.7169 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.0004412/0.7215, allocations: 214.8 kB / 0.8966 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.7219, allocations: 139.8 kB / 0.8968 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.722, allocations: 4 kB / 0.8968 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.7221, allocations: 60.52 kB / 0.8968 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.7226, allocations: 74.34 kB / 0.8969 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009144/0.7235, allocations: 500 kB / 0.8974 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.7237, allocations: 153.8 kB / 0.8975 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000161/0.7239, allocations: 45.61 kB / 0.8976 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.7239, allocations: 24.5 kB / 0.8976 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of SimCode: time 6.11e-07/0.7239, allocations: 3.938 kB / 0.8976 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of Templates: time 0.009542/0.7335, allocations: 4.39 MB / 0.9019 GB, free: 12.61 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.310732285026461] Failed to read output from testmodel.py, exit status != 0: 0.7420684910612181 0.7561968 0.044986331000000004 Calling exit ...