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.001503/0.001503, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001675/0.001675, allocations: 216.1 kB / 23.01 MB, free: 4.609 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.39/1.39, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.002568/0.002568, allocations: 290 kB / 313.5 MB, free: 2.836 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.183/1.183, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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.002822/0.002822, allocations: 100.2 kB / 0.7408 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1732, allocations: 95.38 MB / 0.834 GB, free: 8.145 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.6029/0.776, allocations: 166.8 MB / 0.9969 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004918/0.781, allocations: 4.64 MB / 1.001 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005325/0.7815, allocations: 15.19 kB / 1.001 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004637/0.782, allocations: 125 kB / 1.002 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.7834, allocations: 0.5817 MB / 1.002 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.7854, allocations: 0.8129 MB / 1.003 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008261/0.7862, allocations: 0.5835 MB / 1.003 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003226/0.7866, allocations: 173.3 kB / 1.004 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00106/0.7876, allocations: 485.4 kB / 1.004 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006344/0.7882, allocations: 318.9 kB / 1.004 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.975e-05/0.7883, allocations: 17.97 kB / 1.004 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.7902, allocations: 1.112 MB / 1.005 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.7903, allocations: 96.95 kB / 1.006 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.7905, allocations: 122.2 kB / 1.006 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.7918, allocations: 0.7205 MB / 1.006 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.7918, allocations: 2.156 kB / 1.006 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7918, allocations: 0.5 kB / 1.006 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.7918, allocations: 0.9375 kB / 1.006 GB, free: 3.578 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.001259/0.7931, allocations: 0.5285 MB / 1.007 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/0.7931, allocations: 12.2 kB / 1.007 GB, free: 19.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/0.7938, allocations: 83.55 kB / 1.007 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004567/0.7943, allocations: 231.9 kB / 1.007 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.7943, allocations: 16.22 kB / 1.007 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.504e-05/0.7944, allocations: 19.81 kB / 1.007 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.7949, allocations: 286.4 kB / 1.008 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.7949, allocations: 2.359 kB / 1.008 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.7949, allocations: 10.56 kB / 1.008 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.795, allocations: 9.812 kB / 1.008 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.7954, allocations: 208.3 kB / 1.008 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.7971, allocations: 1.203 MB / 1.009 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.7974, allocations: 172.3 kB / 1.009 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.7976, allocations: 112.2 kB / 1.009 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006556/0.7982, allocations: 105.6 kB / 1.009 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.7983, allocations: 41.88 kB / 1.009 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 1.322e-06/0.7983, allocations: 2.078 kB / 1.009 GB, free: 17.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0007936/0.7991, allocations: 283.4 kB / 1.01 GB, free: 17.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.7992, allocations: 160.6 kB / 1.01 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002632/0.7994, allocations: 287.9 kB / 1.01 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.7995, allocations: 27.92 kB / 1.01 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.7996, allocations: 154.4 kB / 1.01 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.7996, allocations: 44.17 kB / 1.01 GB, free: 17.44 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.463e-05/0.7997, allocations: 42.09 kB / 1.01 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.7998, allocations: 338 kB / 1.011 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.8, allocations: 65.23 kB / 1.011 GB, free: 17.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.8001, allocations: 148.3 kB / 1.011 GB, free: 17.03 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.8005, allocations: 214.2 kB / 1.011 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.8005, allocations: 1.125 kB / 1.011 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000457/0.8009, allocations: 248.5 kB / 1.011 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.8009, allocations: 6.938 kB / 1.011 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8009, allocations: 3.344 kB / 1.011 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.801, allocations: 5.797 kB / 1.011 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.8011, allocations: 39.33 kB / 1.011 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.8012, allocations: 2.531 kB / 1.011 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.8013, allocations: 29.39 kB / 1.011 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.8014, allocations: 10.48 kB / 1.011 GB, free: 16.9 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.0001403/0.8015, allocations: 154.6 kB / 1.012 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.8017, allocations: 33.03 kB / 1.012 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004208/0.8021, allocations: 185.4 kB / 1.012 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.8021, allocations: 3.469 kB / 1.012 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8021, allocations: 4.219 kB / 1.012 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.8021, allocations: 4.781 kB / 1.012 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009454/0.803, allocations: 0.8287 MB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.803, allocations: 3.219 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.8031, allocations: 22.56 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.8032, allocations: 12.88 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.8032, allocations: 1.906 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.8032, allocations: 2.125 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8032, allocations: 4.281 kB / 1.013 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004909/0.8037, allocations: 339.8 kB / 1.013 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.8037, allocations: 37.92 kB / 1.013 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.8038, allocations: 14.58 kB / 1.013 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001515/0.8039, allocations: 11.88 kB / 1.013 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.804, allocations: 7.125 kB / 1.013 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.804, allocations: 5 kB / 1.013 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000209/0.8042, allocations: 240.3 kB / 1.013 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/0.8042, allocations: 2.016 kB / 1.013 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000481/0.8047, allocations: 93.86 kB / 1.013 GB, free: 15.79 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.0003823/0.805, allocations: 204.5 kB / 1.013 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003504/0.8054, allocations: 155.7 kB / 1.014 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8054, allocations: 1.094 kB / 1.014 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.8055, allocations: 55.05 kB / 1.014 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006861/0.8062, allocations: 147.8 kB / 1.014 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008098/0.807, allocations: 0.5183 MB / 1.014 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.8074, allocations: 0.7596 MB / 1.015 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.767e-05/0.8075, allocations: 31.62 kB / 1.015 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2.8e-07/0.8075, allocations: 0 / 1.015 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.007366/0.8148, allocations: 5.302 MB / 1.02 GB, free: 14.29 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.915335030993447] Failed to read output from testmodel.py, exit status != 0: 0.8216336921323091 0.831252032 0.037077353 Calling exit ...