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.001599/0.001599, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001872/0.001872, allocations: 214.4 kB / 22.99 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.002495/0.002495, allocations: 293 kB / 313.5 MB, free: 2.617 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.247/1.247, allocations: 180.6 MB / 0.5377 GB, free: 14.59 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 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.00293/0.00293, allocations: 101.8 kB / 0.7407 GB, free: 27.74 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1593, allocations: 95.39 MB / 0.8339 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.186/0.3452, allocations: 143.9 MB / 0.9744 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006789/0.352, allocations: 4.224 MB / 0.9785 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.3525, allocations: 15.88 kB / 0.9785 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005925/0.3531, allocations: 135 kB / 0.9787 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.355, allocations: 0.5602 MB / 0.9792 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.3572, allocations: 0.7935 MB / 0.98 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008762/0.358, allocations: 0.5885 MB / 0.9806 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.3584, allocations: 165.4 kB / 0.9807 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.3595, allocations: 482.2 kB / 0.9812 GB, free: 440 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006441/0.3601, allocations: 306.8 kB / 0.9815 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.167e-05/0.3601, allocations: 16 kB / 0.9815 GB, free: 116 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4255/0.7856, allocations: 0.8456 MB / 0.9823 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.7858, allocations: 93.98 kB / 0.9824 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.786, allocations: 106.2 kB / 0.9825 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.7872, allocations: 0.6837 MB / 0.9832 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.7872, allocations: 1.156 kB / 0.9832 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7872, allocations: 0 / 0.9832 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.7872, allocations: 0 / 0.9832 GB, free: 4.957 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.001022/0.7882, allocations: 0.528 MB / 0.9837 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.7883, allocations: 10.88 kB / 0.9837 GB, free: 20.58 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006598/0.7889, allocations: 81.03 kB / 0.9838 GB, free: 20.56 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.7894, allocations: 239.3 kB / 0.984 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.7894, allocations: 15.47 kB / 0.984 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.877e-05/0.7894, allocations: 18.91 kB / 0.984 GB, free: 20.41 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004431/0.7899, allocations: 291.4 kB / 0.9843 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.7899, allocations: 0.9688 kB / 0.9843 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.283e-05/0.7899, allocations: 9.5 kB / 0.9843 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.7899, allocations: 5.406 kB / 0.9843 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.7903, allocations: 209.4 kB / 0.9845 GB, free: 20.31 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.7917, allocations: 1.102 MB / 0.9856 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.792, allocations: 168.6 kB / 0.9858 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.7921, allocations: 114.2 kB / 0.9859 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005796/0.7927, allocations: 104.8 kB / 0.986 GB, free: 19.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.7927, allocations: 45.16 kB / 0.986 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.7927, allocations: 0.9062 kB / 0.986 GB, free: 19.36 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.000692/0.7934, allocations: 273.9 kB / 0.9863 GB, free: 19.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.7935, allocations: 158 kB / 0.9864 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.7937, allocations: 206.9 kB / 0.9866 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.7937, allocations: 32.05 kB / 0.9867 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.7938, allocations: 156.3 kB / 0.9868 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.7939, allocations: 56.61 kB / 0.9869 GB, free: 18.85 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.453e-05/0.7939, allocations: 44.19 kB / 0.9869 GB, free: 18.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7941, allocations: 332.4 kB / 0.9872 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.7942, allocations: 66.56 kB / 0.9873 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.7945, allocations: 247.6 kB / 0.9875 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.7948, allocations: 212.8 kB / 0.9877 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7948, allocations: 0.9688 kB / 0.9877 GB, free: 18.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004875/0.7953, allocations: 236.4 kB / 0.9879 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.7953, allocations: 9.562 kB / 0.988 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.7953, allocations: 3.797 kB / 0.988 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.7954, allocations: 3.188 kB / 0.988 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.7955, allocations: 39.27 kB / 0.988 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.7956, allocations: 6.094 kB / 0.988 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.7957, allocations: 23.22 kB / 0.988 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.7958, allocations: 16.53 kB / 0.988 GB, free: 18.19 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.0001539/0.7959, allocations: 145.4 kB / 0.9882 GB, free: 18.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.796, allocations: 24.84 kB / 0.9882 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.7965, allocations: 176.9 kB / 0.9884 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.7965, allocations: 2.281 kB / 0.9884 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.7965, allocations: 3.922 kB / 0.9884 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7965, allocations: 2.656 kB / 0.9884 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.7975, allocations: 0.7785 MB / 0.9891 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.7975, allocations: 1.312 kB / 0.9891 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.7976, allocations: 30.14 kB / 0.9892 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.7976, allocations: 6.594 kB / 0.9892 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.7976, allocations: 8.109 kB / 0.9892 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.7976, allocations: 3.484 kB / 0.9892 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.7976, allocations: 1.312 kB / 0.9892 GB, free: 17.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005198/0.7982, allocations: 333.2 kB / 0.9895 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.691e-05/0.7982, allocations: 29.84 kB / 0.9895 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.7983, allocations: 7.359 kB / 0.9895 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.7984, allocations: 11.92 kB / 0.9896 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.7984, allocations: 7.312 kB / 0.9896 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.7984, allocations: 7.469 kB / 0.9896 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001637/0.7986, allocations: 174.8 kB / 0.9897 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.7986, allocations: 0.9062 kB / 0.9897 GB, free: 17.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005207/0.7991, allocations: 108.6 kB / 0.9898 GB, free: 17.14 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.0003851/0.7995, allocations: 204.7 kB / 0.99 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003507/0.7999, allocations: 142.4 kB / 0.9902 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7999, allocations: 5.422 kB / 0.9902 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.8, allocations: 58.78 kB / 0.9902 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.8005, allocations: 83.02 kB / 0.9903 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.8012, allocations: 0.5045 MB / 0.9908 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/0.8014, allocations: 149.6 kB / 0.991 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.956e-05/0.8014, allocations: 23.59 kB / 0.991 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.8014, allocations: 0.8438 kB / 0.991 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of Templates: time 0.007222/0.8087, allocations: 4.61 MB / 0.9955 GB, free: 16.5 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.881554985884577] Failed to read output from testmodel.py, exit status != 0: 0.8162858430296183 0.827996552 0.038291095000000004 Calling exit ...