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.000913/0.000913, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001481/0.001481, allocations: 173 kB / 23.02 MB, free: 1.551 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.9791/0.9791, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.002654/0.002654, allocations: 241 kB / 260.2 MB, free: 12.83 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.7798/0.7798, allocations: 138.4 MB / 455.2 MB, free: 1.535 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.643e-06/1.643e-06, allocations: 0 / 0.5551 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.611e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy): time 0.3453/0.3453, allocations: 146.1 MB / 0.6978 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.3478, allocations: 2.117 MB / 0.6999 GB, free: 8.523 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.3481, allocations: 15.88 kB / 0.6999 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0004691/0.3486, allocations: 71.36 kB / 0.7 GB, free: 8.438 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.3503, allocations: 0.5635 MB / 0.7005 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.3515, allocations: 442.6 kB / 0.7009 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0006116/0.3521, allocations: 0.565 MB / 0.7015 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.3525, allocations: 177.5 kB / 0.7017 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004597/0.3529, allocations: 311.1 kB / 0.702 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.3534, allocations: 295 kB / 0.7022 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.681e-05/0.3534, allocations: 20 kB / 0.7023 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006454/0.3541, allocations: 470.6 kB / 0.7027 GB, free: 5.629 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.028e-05/0.3542, allocations: 103.7 kB / 0.7028 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.3542, allocations: 79.78 kB / 0.7029 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0005987/0.3548, allocations: 470.5 kB / 0.7033 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.3548, allocations: 0 / 0.7033 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3548, allocations: 0 / 0.7033 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3548, allocations: 0 / 0.7033 GB, free: 4.988 MB / 0.5105 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.0006089/0.3554, allocations: 0.5944 MB / 0.7039 GB, free: 4.359 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.3555, allocations: 8.75 kB / 0.7039 GB, free: 4.352 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004453/0.3559, allocations: 116.4 kB / 0.704 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.3562, allocations: 241.9 kB / 0.7043 GB, free: 3.977 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3562, allocations: 12.38 kB / 0.7043 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.3562, allocations: 24.56 kB / 0.7043 GB, free: 3.941 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002762/0.3565, allocations: 240.6 kB / 0.7045 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3565, allocations: 4 kB / 0.7045 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.3566, allocations: 7.984 kB / 0.7045 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.3566, allocations: 8 kB / 0.7045 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3567, allocations: 88.45 kB / 0.7046 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008381/0.3575, allocations: 1.377 MB / 0.706 GB, free: 2.113 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.3577, allocations: 159.4 kB / 0.7061 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.3577, allocations: 74.42 kB / 0.7062 GB, free: 1.801 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/0.358, allocations: 59.92 kB / 0.7062 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.358, allocations: 45.5 kB / 0.7063 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.685e-06/0.358, allocations: 0 / 0.7063 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003255/0.3583, allocations: 145.3 kB / 0.7064 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.3583, allocations: 158.2 kB / 0.7066 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3584, allocations: 257.7 kB / 0.7068 GB, free: 1.078 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.3585, allocations: 29.7 kB / 0.7069 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.301e-05/0.3585, allocations: 207.1 kB / 0.7071 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.3585, allocations: 51.58 kB / 0.7071 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.3586, allocations: 47.36 kB / 0.7071 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.948e-05/0.3586, allocations: 0.5001 MB / 0.7076 GB, free: 224 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.138e-05/0.3587, allocations: 16.5 kB / 0.7077 GB, free: 208 kB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001202/0.3588, allocations: 222.5 kB / 0.7079 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001376/0.3589, allocations: 137 kB / 0.708 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3589, allocations: 0 / 0.708 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002188/0.3592, allocations: 157.3 kB / 0.7081 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3592, allocations: 8 kB / 0.7082 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3592, allocations: 0 / 0.7082 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3592, allocations: 4 kB / 0.7082 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3593, allocations: 35.92 kB / 0.7082 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.3593, allocations: 7.938 kB / 0.7082 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.496e-05/0.3594, allocations: 16.44 kB / 0.7082 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.3594, allocations: 15.94 kB / 0.7082 GB, free: 15.5 MB / 0.5261 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 9.036e-05/0.3595, allocations: 176.7 kB / 0.7084 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.3596, allocations: 19.91 kB / 0.7084 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.3598, allocations: 145.3 kB / 0.7086 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3598, allocations: 8.047 kB / 0.7086 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3599, allocations: 3.984 kB / 0.7086 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3599, allocations: 3.938 kB / 0.7086 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006097/0.3605, allocations: 0.9681 MB / 0.7095 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3605, allocations: 0 / 0.7095 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.3605, allocations: 27.92 kB / 0.7095 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.3605, allocations: 4 kB / 0.7095 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.3606, allocations: 192 / 0.7095 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3606, allocations: 8 kB / 0.7096 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3606, allocations: 3.938 kB / 0.7096 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.3608, allocations: 314.8 kB / 0.7099 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.3609, allocations: 35.77 kB / 0.7099 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.3609, allocations: 0 / 0.7099 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.477e-05/0.361, allocations: 7.984 kB / 0.7099 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.515e-05/0.361, allocations: 19.92 kB / 0.7099 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.361, allocations: 4 kB / 0.7099 GB, free: 13.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.486e-05/0.3611, allocations: 186.3 kB / 0.7101 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.3611, allocations: 4.031 kB / 0.7101 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003158/0.3614, allocations: 91.77 kB / 0.7102 GB, free: 13.36 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (11): * Single equations (assignments): 11 * 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.000284/0.3617, allocations: 163 kB / 0.7103 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001831/0.3619, allocations: 91.47 kB / 0.7104 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3619, allocations: 0 / 0.7104 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.499e-05/0.3619, allocations: 39.61 kB / 0.7105 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.3623, allocations: 90.33 kB / 0.7106 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007795/0.3631, allocations: 469.6 kB / 0.711 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.119e-05/0.3631, allocations: 94.39 kB / 0.7111 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.3633, allocations: 46.92 kB / 0.7111 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.886e-05/0.3633, allocations: 24.5 kB / 0.7112 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.052e-06/0.3633, allocations: 0 / 0.7112 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.006884/0.3702, allocations: 4.358 MB / 0.7154 GB, free: 8.09 MB / 0.5261 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.221801393665373]