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.0008193/0.0008193, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008525/0.0008525, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8981/0.8981, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.001564/0.001564, allocations: 233.3 kB / 260.2 MB, free: 13.03 MB / 250.7 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.6695/0.6695, allocations: 138.4 MB / 455.1 MB, free: 1.629 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.6475 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.648e-05, allocations: 2.281 kB / 0.6475 GB, free: 28.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.124/0.124, allocations: 143.9 MB / 0.788 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004914/0.1289, allocations: 4.206 MB / 0.7921 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004544/0.1294, allocations: 11.88 kB / 0.7922 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005349/0.1299, allocations: 127.1 kB / 0.7923 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001405/0.1313, allocations: 0.5868 MB / 0.7929 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/0.133, allocations: 0.8279 MB / 0.7937 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.1337, allocations: 0.5806 MB / 0.7942 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.1339, allocations: 157.4 kB / 0.7944 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009542/0.1349, allocations: 0.5411 MB / 0.7949 GB, free: 9.715 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004988/0.1354, allocations: 279.2 kB / 0.7952 GB, free: 9.441 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.057e-05/0.1354, allocations: 19.94 kB / 0.7952 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.1367, allocations: 0.8645 MB / 0.796 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.75e-05/0.1367, allocations: 99.7 kB / 0.7961 GB, free: 8.457 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.1368, allocations: 87.83 kB / 0.7962 GB, free: 8.371 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007989/0.1376, allocations: 0.7323 MB / 0.7969 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1376, allocations: 0 / 0.7969 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1376, allocations: 0 / 0.7969 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.1376, allocations: 0 / 0.7969 GB, free: 7.637 MB / 0.6355 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.0007603/0.1384, allocations: 0.5314 MB / 0.7974 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1384, allocations: 8.75 kB / 0.7975 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/0.1388, allocations: 79.73 kB / 0.7975 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.1392, allocations: 241.6 kB / 0.7978 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.1392, allocations: 12 kB / 0.7978 GB, free: 6.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.1392, allocations: 23.95 kB / 0.7978 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.1396, allocations: 297.2 kB / 0.7981 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.1396, allocations: 4 kB / 0.7981 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1396, allocations: 8 kB / 0.7981 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.1396, allocations: 8 kB / 0.7981 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000267/0.1399, allocations: 199.7 kB / 0.7983 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.1412, allocations: 1.101 MB / 0.7994 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.1414, allocations: 184.9 kB / 0.7995 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1416, allocations: 108.2 kB / 0.7996 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.1419, allocations: 99.88 kB / 0.7997 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.1419, allocations: 42.69 kB / 0.7998 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.1419, allocations: 0 / 0.7998 GB, free: 4.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0004881/0.1424, allocations: 281.7 kB / 0.8 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.1425, allocations: 158.2 kB / 0.8002 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.1426, allocations: 207.2 kB / 0.8004 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.1426, allocations: 25.7 kB / 0.8004 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.645e-05/0.1427, allocations: 160.4 kB / 0.8006 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.1428, allocations: 47.62 kB / 0.8006 GB, free: 3.574 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.1428, allocations: 41.7 kB / 0.8007 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.228e-05/0.1429, allocations: 326.8 kB / 0.801 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.938e-05/0.143, allocations: 71.84 kB / 0.801 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1432, allocations: 251.3 kB / 0.8013 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.1434, allocations: 207.5 kB / 0.8015 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.1434, allocations: 7.938 kB / 0.8015 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002936/0.1437, allocations: 237.2 kB / 0.8017 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1437, allocations: 10.03 kB / 0.8017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1437, allocations: 0 / 0.8017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.1437, allocations: 4 kB / 0.8017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1438, allocations: 40.22 kB / 0.8018 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.1438, allocations: 11.94 kB / 0.8018 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.937e-05/0.1439, allocations: 19.88 kB / 0.8018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.1439, allocations: 16.38 kB / 0.8018 GB, free: 2.254 MB / 0.6355 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.000108/0.1441, allocations: 145.7 kB / 0.8019 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.1441, allocations: 23.89 kB / 0.802 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002842/0.1444, allocations: 185.5 kB / 0.8021 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1444, allocations: 3.938 kB / 0.8022 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1444, allocations: 4 kB / 0.8022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1444, allocations: 0 / 0.8022 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006055/0.145, allocations: 0.7844 MB / 0.8029 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.145, allocations: 4 kB / 0.8029 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.108e-05/0.1451, allocations: 23.92 kB / 0.8029 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1451, allocations: 4 kB / 0.803 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1451, allocations: 0 / 0.803 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.1451, allocations: 7.984 kB / 0.803 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.1451, allocations: 3.938 kB / 0.803 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.1454, allocations: 331.6 kB / 0.8033 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.698e-05/0.1455, allocations: 27.92 kB / 0.8033 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1455, allocations: 7.984 kB / 0.8033 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.1456, allocations: 8 kB / 0.8033 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.1456, allocations: 11.92 kB / 0.8033 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.1456, allocations: 8 kB / 0.8033 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001053/0.1457, allocations: 177.2 kB / 0.8035 GB, free: 416 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.1457, allocations: 64 / 0.8035 GB, free: 416 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003513/0.1461, allocations: 111.7 kB / 0.8036 GB, free: 304 kB / 0.6355 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.0003446/0.1464, allocations: 202.9 kB / 0.8038 GB, free: 92 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.1467, allocations: 152 kB / 0.804 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1467, allocations: 4 kB / 0.804 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.597e-05/0.1468, allocations: 51.91 kB / 0.804 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1471, allocations: 87.67 kB / 0.8041 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.1477, allocations: 488.3 kB / 0.8046 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.1478, allocations: 145.8 kB / 0.8047 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.1479, allocations: 28.48 kB / 0.8047 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/0.1479, allocations: 4 kB / 0.8047 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.004922/0.1528, allocations: 4.624 MB / 0.8092 GB, free: 10.49 MB / 0.6511 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: 5.995774349197745] Failed to read output from testmodel.py, exit status != 0: 0.15883885137736797 0.168382114 0.028883921000000003 Calling exit ...