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.001606/0.001606, allocations: 110 kB / 18.93 MB, free: 2.945 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.001405/0.001405, allocations: 188.3 kB / 22.23 MB, free: 5.16 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.403/1.403, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.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.002549/0.002549, allocations: 283.9 kB / 306.6 MB, free: 8.301 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.208/1.208, allocations: 180.9 MB / 0.53 GB, free: 14.43 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.002767/0.002767, allocations: 96.62 kB / 0.7309 GB, free: 38.7 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2013, allocations: 94.2 MB / 0.8228 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.2075/0.4088, allocations: 163.9 MB / 0.9829 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007052/0.4158, allocations: 4.627 MB / 0.9874 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005046/0.4163, allocations: 15.88 kB / 0.9874 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005464/0.4169, allocations: 127.1 kB / 0.9876 GB, free: 8.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.4186, allocations: 0.5718 MB / 0.9881 GB, free: 7.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002063/0.4207, allocations: 0.8124 MB / 0.9889 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0008638/0.4215, allocations: 0.5885 MB / 0.9895 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.4219, allocations: 163.1 kB / 0.9897 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.4229, allocations: 494.2 kB / 0.9901 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005997/0.4235, allocations: 310.7 kB / 0.9904 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.4236, allocations: 16 kB / 0.9904 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.4255, allocations: 1.107 MB / 0.9915 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.4257, allocations: 91.72 kB / 0.9916 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.4259, allocations: 131.3 kB / 0.9917 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.4271, allocations: 0.7049 MB / 0.9924 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.4271, allocations: 4 kB / 0.9924 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4271, allocations: 0 / 0.9924 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4271, allocations: 0 / 0.9924 GB, free: 3.445 MB / 0.7325 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.001063/0.4282, allocations: 0.5352 MB / 0.9929 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4282, allocations: 8.031 kB / 0.993 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006787/0.4289, allocations: 79.69 kB / 0.993 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004374/0.4293, allocations: 250.2 kB / 0.9933 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.4293, allocations: 15.95 kB / 0.9933 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.4294, allocations: 20 kB / 0.9933 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005423/0.4299, allocations: 284.1 kB / 0.9936 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4299, allocations: 0 / 0.9936 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.43, allocations: 11.94 kB / 0.9936 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.43, allocations: 7.938 kB / 0.9936 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.4304, allocations: 204.4 kB / 0.9938 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001772/0.4322, allocations: 1.214 MB / 0.995 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003284/0.4325, allocations: 172.9 kB / 0.9951 GB, free: 476 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.4327, allocations: 112.2 kB / 0.9952 GB, free: 348 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006739/0.4334, allocations: 107.8 kB / 0.9953 GB, free: 240 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.4335, allocations: 38.69 kB / 0.9954 GB, free: 192 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.4335, allocations: 0 / 0.9954 GB, free: 192 kB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0008482/0.4343, allocations: 273.3 kB / 0.9956 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.4344, allocations: 166.2 kB / 0.9958 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.4347, allocations: 288.2 kB / 0.9961 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.4348, allocations: 33.7 kB / 0.9961 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.4349, allocations: 144.5 kB / 0.9962 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.505e-05/0.435, allocations: 55.53 kB / 0.9963 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.072e-05/0.435, allocations: 37.7 kB / 0.9963 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.4352, allocations: 342.8 kB / 0.9967 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001786/0.4354, allocations: 67.94 kB / 0.9967 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.4356, allocations: 142.9 kB / 0.9969 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.4361, allocations: 211.5 kB / 0.9971 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4361, allocations: 0 / 0.9971 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005464/0.4366, allocations: 253.3 kB / 0.9973 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.4366, allocations: 4 kB / 0.9973 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.4366, allocations: 4 kB / 0.9973 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.4367, allocations: 7.938 kB / 0.9973 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.4369, allocations: 35.98 kB / 0.9974 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.4369, allocations: 7.984 kB / 0.9974 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.4371, allocations: 19.84 kB / 0.9974 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.4371, allocations: 23.92 kB / 0.9974 GB, free: 13.98 MB / 0.7481 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.000171/0.4373, allocations: 149.8 kB / 0.9975 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.4374, allocations: 28.19 kB / 0.9976 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004998/0.4379, allocations: 193.8 kB / 0.9978 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.4379, allocations: 8 kB / 0.9978 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.438, allocations: 0 / 0.9978 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.438, allocations: 7.938 kB / 0.9978 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.4391, allocations: 0.8228 MB / 0.9986 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.4391, allocations: 7.984 kB / 0.9986 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001211/0.4392, allocations: 19.98 kB / 0.9986 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.4392, allocations: 7.938 kB / 0.9986 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.4392, allocations: 4 kB / 0.9986 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4392, allocations: 4 kB / 0.9986 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4392, allocations: 4.156 kB / 0.9986 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.4398, allocations: 347.4 kB / 0.999 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.4399, allocations: 35.78 kB / 0.999 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.074e-05/0.4399, allocations: 4 kB / 0.999 GB, free: 12.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.4401, allocations: 7.984 kB / 0.999 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.4401, allocations: 11.98 kB / 0.999 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.4401, allocations: 4 kB / 0.999 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002592/0.4404, allocations: 235 kB / 0.9992 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.4404, allocations: 4.062 kB / 0.9992 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000524/0.4409, allocations: 99.77 kB / 0.9993 GB, free: 11.87 MB / 0.7481 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.0006209/0.4416, allocations: 224 kB / 0.9996 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004354/0.442, allocations: 143.8 kB / 0.9997 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.442, allocations: 0 / 0.9997 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.4421, allocations: 56.72 kB / 0.9997 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007827/0.4429, allocations: 137.6 kB / 0.9999 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.444, allocations: 0.4884 MB / 1 GB, free: 10.78 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.4444, allocations: 0.7674 MB / 1.001 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001768/0.4446, allocations: 58.89 kB / 1.001 GB, free: 9.934 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.164e-05/0.4446, allocations: 27.42 kB / 1.001 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of SimCode: time 2.91e-07/0.4446, allocations: 0 / 1.001 GB, free: 9.906 MB / 0.7481 GB Notification: Performance of Templates: time 0.01194/0.4566, allocations: 5.932 MB / 1.007 GB, free: 4.051 MB / 0.7481 GB " [Timeout remaining time 660] 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.776262884028256] Failed to read output from testmodel.py, exit status != 0: 0.46462109964340925 0.861471776 0.431232895 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f84b9b417b0>