Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.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.0009657/0.0009657, 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.0009368/0.0009368, allocations: 169 kB / 23.02 MB, free: 1.547 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.9841/0.9841, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.002342/0.002342, allocations: 242 kB / 260.2 MB, free: 12.82 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.7193/0.7193, allocations: 138.4 MB / 455.2 MB, free: 1.543 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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5551 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.767e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3361/0.3362, allocations: 146.7 MB / 0.6984 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.338, allocations: 2.289 MB / 0.7007 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.3381, allocations: 15.88 kB / 0.7007 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.3385, allocations: 95.19 kB / 0.7008 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0008866/0.3393, allocations: 0.6684 MB / 0.7014 GB, free: 7.102 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006235/0.34, allocations: 0.5142 MB / 0.7019 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0004419/0.3404, allocations: 0.7522 MB / 0.7027 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.3407, allocations: 244.3 kB / 0.7029 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003318/0.341, allocations: 410.9 kB / 0.7033 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000418/0.3414, allocations: 410.8 kB / 0.7037 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.3414, allocations: 28 kB / 0.7037 GB, free: 4.762 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003919/0.3418, allocations: 486.6 kB / 0.7042 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.421e-05/0.3419, allocations: 123.6 kB / 0.7043 GB, free: 4.164 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.17e-05/0.342, allocations: 119.8 kB / 0.7044 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0004566/0.3424, allocations: 0.5334 MB / 0.7049 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3424, allocations: 0 / 0.7049 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3424, allocations: 0 / 0.7049 GB, free: 3.512 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3425, allocations: 0 / 0.7049 GB, free: 3.512 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.000564/0.343, allocations: 0.6844 MB / 0.7056 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.3431, allocations: 12.75 kB / 0.7056 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005732/0.3436, allocations: 188.1 kB / 0.7058 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.3439, allocations: 284 kB / 0.7061 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.344, allocations: 84.75 kB / 0.7061 GB, free: 2.203 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.344, allocations: 35.92 kB / 0.7062 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000309/0.3443, allocations: 311.8 kB / 0.7065 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3443, allocations: 0 / 0.7065 GB, free: 1.828 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.3444, allocations: 12 kB / 0.7065 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.3444, allocations: 4 kB / 0.7065 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3445, allocations: 118.9 kB / 0.7066 GB, free: 1.695 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008047/0.3453, allocations: 1.256 MB / 0.7078 GB, free: 396 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.3455, allocations: 83.09 kB / 0.7079 GB, free: 300 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.162e-05/0.3455, allocations: 47.66 kB / 0.7079 GB, free: 248 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002422/0.3458, allocations: 79.91 kB / 0.708 GB, free: 168 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3458, allocations: 37.39 kB / 0.7081 GB, free: 120 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.3458, allocations: 0 / 0.7081 GB, free: 120 kB / 0.5105 GB Notification: Performance of matching and sorting (n=15): time 0.0003531/0.3461, allocations: 173.3 kB / 0.7082 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.3462, allocations: 55.41 kB / 0.7083 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.3463, allocations: 284.3 kB / 0.7085 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3463, allocations: 25.7 kB / 0.7086 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3464, allocations: 255.2 kB / 0.7088 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.3465, allocations: 47.53 kB / 0.7089 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.3465, allocations: 51.36 kB / 0.7089 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3466, allocations: 0.504 MB / 0.7094 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/0.3467, allocations: 27.94 kB / 0.7094 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3468, allocations: 172.1 kB / 0.7096 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.3469, allocations: 125.7 kB / 0.7097 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3469, allocations: 0 / 0.7097 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000211/0.3471, allocations: 155.3 kB / 0.7099 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.3472, allocations: 4 kB / 0.7099 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3472, allocations: 4 kB / 0.7099 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3472, allocations: 4 kB / 0.7099 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3473, allocations: 39.92 kB / 0.7099 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3473, allocations: 8.125 kB / 0.7099 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.012e-05/0.3474, allocations: 15.89 kB / 0.7099 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.3474, allocations: 19.92 kB / 0.71 GB, free: 14.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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 8.648e-05/0.3475, allocations: 172.5 kB / 0.7101 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/0.3475, allocations: 27.86 kB / 0.7101 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.3478, allocations: 158.7 kB / 0.7103 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3478, allocations: 7.938 kB / 0.7103 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3478, allocations: 3.438 kB / 0.7103 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3478, allocations: 3.938 kB / 0.7103 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005252/0.3483, allocations: 0.6003 MB / 0.7109 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3483, allocations: 0 / 0.7109 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.3484, allocations: 31.92 kB / 0.7109 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3484, allocations: 4 kB / 0.7109 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3484, allocations: 4 kB / 0.7109 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3484, allocations: 0 / 0.7109 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3484, allocations: 7.984 kB / 0.7109 GB, free: 12.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.3486, allocations: 345.4 kB / 0.7113 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.3487, allocations: 47.77 kB / 0.7113 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3487, allocations: 8 kB / 0.7113 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.3488, allocations: 8 kB / 0.7113 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.3488, allocations: 15.97 kB / 0.7113 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3488, allocations: 8 kB / 0.7114 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.846e-05/0.3489, allocations: 201.1 kB / 0.7115 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.3489, allocations: 0 / 0.7115 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002585/0.3492, allocations: 111.6 kB / 0.7117 GB, free: 12.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (15): * Single equations (assignments): 15 * 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.0002365/0.3494, allocations: 171 kB / 0.7118 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.3496, allocations: 103.5 kB / 0.7119 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.3496, allocations: 384 / 0.7119 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.3496, allocations: 55.55 kB / 0.712 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.35, allocations: 120.9 kB / 0.7121 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008532/0.3509, allocations: 0.5662 MB / 0.7126 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.967e-05/0.3509, allocations: 100.3 kB / 0.7127 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001121/0.351, allocations: 55.59 kB / 0.7128 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/0.3511, allocations: 24.5 kB / 0.7128 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of SimCode: time 5.01e-07/0.3511, allocations: 0 / 0.7128 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.007244/0.3583, allocations: 5.703 MB / 0.7184 GB, free: 5.379 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.057163036894053]