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.001821/0.001821, allocations: 93.47 kB / 19.44 MB, free: 336 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.001974/0.001974, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.003241/0.003241, allocations: 229.9 kB / 259.8 MB, free: 12.84 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 1.195/1.195, allocations: 138.5 MB / 454.7 MB, free: 1.488 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.894e-06/1.894e-06, allocations: 0 / 0.5543 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.63e-05, allocations: 6.312 kB / 0.5544 GB, free: 0.8359 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4158/0.4158, allocations: 165.7 MB / 0.7162 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.4271, allocations: 7.382 MB / 0.7234 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004861/0.4276, allocations: 23.75 kB / 0.7234 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.000632/0.4282, allocations: 170.7 kB / 0.7236 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003813/0.4321, allocations: 1.322 MB / 0.7249 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.001906/0.434, allocations: 0.7008 MB / 0.7255 GB, free: 13.58 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.4351, allocations: 0.7634 MB / 0.7263 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004656/0.4356, allocations: 243.3 kB / 0.7265 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.437, allocations: 0.6852 MB / 0.7272 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009622/0.438, allocations: 422.8 kB / 0.7276 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.4381, allocations: 28 kB / 0.7276 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002221/0.4403, allocations: 1.071 MB / 0.7287 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.4405, allocations: 127.6 kB / 0.7288 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.4406, allocations: 123.7 kB / 0.7289 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.001745/0.4424, allocations: 0.923 MB / 0.7298 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4424, allocations: 0 / 0.7298 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.134e-06/0.4424, allocations: 0 / 0.7298 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.4424, allocations: 0 / 0.7298 GB, free: 9.207 MB / 0.5417 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.001376/0.4438, allocations: 0.7403 MB / 0.7305 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.4438, allocations: 20.73 kB / 0.7306 GB, free: 8.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.4449, allocations: 183.2 kB / 0.7307 GB, free: 8.23 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.4455, allocations: 290.8 kB / 0.731 GB, free: 7.922 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/0.4456, allocations: 72.06 kB / 0.7311 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.4456, allocations: 35.44 kB / 0.7311 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.4463, allocations: 351.2 kB / 0.7314 GB, free: 7.434 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4463, allocations: 7.938 kB / 0.7314 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.4464, allocations: 8 kB / 0.7315 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.4464, allocations: 11.94 kB / 0.7315 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004443/0.4468, allocations: 173.8 kB / 0.7316 GB, free: 7.234 MB / 0.5417 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.002132/0.4489, allocations: 1.326 MB / 0.7329 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.4493, allocations: 115.1 kB / 0.733 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.4494, allocations: 67.64 kB / 0.7331 GB, free: 5.656 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007978/0.4502, allocations: 126.4 kB / 0.7332 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.4503, allocations: 41.33 kB / 0.7333 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.4503, allocations: 0 / 0.7333 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of matching and sorting (n=15): time 0.0008554/0.4511, allocations: 244.6 kB / 0.7335 GB, free: 5.242 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.4512, allocations: 51.41 kB / 0.7335 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003548/0.4515, allocations: 320.3 kB / 0.7339 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.4516, allocations: 29.7 kB / 0.7339 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.4518, allocations: 247.2 kB / 0.7341 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/0.4519, allocations: 59.53 kB / 0.7342 GB, free: 4.512 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.452, allocations: 55.31 kB / 0.7342 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002883/0.4523, allocations: 0.5118 MB / 0.7347 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.4524, allocations: 47.97 kB / 0.7348 GB, free: 3.879 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.4527, allocations: 198.8 kB / 0.735 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.4531, allocations: 177.7 kB / 0.7351 GB, free: 3.434 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4531, allocations: 0 / 0.7351 GB, free: 3.434 MB / 0.5417 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005359/0.4536, allocations: 214.5 kB / 0.7353 GB, free: 3.223 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4536, allocations: 12.56 kB / 0.7353 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.4536, allocations: 0 / 0.7353 GB, free: 3.211 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.4536, allocations: 4 kB / 0.7353 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.4539, allocations: 39.92 kB / 0.7354 GB, free: 3.168 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.4539, allocations: 7.984 kB / 0.7354 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.454, allocations: 15.89 kB / 0.7354 GB, free: 3.145 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.4541, allocations: 12 kB / 0.7354 GB, free: 3.133 MB / 0.5417 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 0.0001926/0.4543, allocations: 184.7 kB / 0.7356 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.4544, allocations: 39.75 kB / 0.7356 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000616/0.455, allocations: 222.6 kB / 0.7358 GB, free: 2.688 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.455, allocations: 7.938 kB / 0.7359 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.455, allocations: 0 / 0.7359 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.455, allocations: 3.984 kB / 0.7359 GB, free: 2.676 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.4564, allocations: 0.7141 MB / 0.7366 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.4564, allocations: 4 kB / 0.7366 GB, free: 1.887 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.4566, allocations: 31.98 kB / 0.7366 GB, free: 1.855 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.4566, allocations: 4 kB / 0.7366 GB, free: 1.852 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.4566, allocations: 4 kB / 0.7366 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.4567, allocations: 4.484 kB / 0.7366 GB, free: 1.844 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4567, allocations: 4 kB / 0.7366 GB, free: 1.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007459/0.4574, allocations: 401.6 kB / 0.737 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.4575, allocations: 47.81 kB / 0.737 GB, free: 1.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.4576, allocations: 8 kB / 0.737 GB, free: 1.344 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.4578, allocations: 11.98 kB / 0.7371 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.4578, allocations: 15.92 kB / 0.7371 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-05/0.4579, allocations: 15.98 kB / 0.7371 GB, free: 1.301 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001959/0.4581, allocations: 209.1 kB / 0.7373 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.4581, allocations: 0 / 0.7373 GB, free: 1.098 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005604/0.4586, allocations: 135.7 kB / 0.7374 GB, free: 0.9648 MB / 0.5417 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 (16): * Single equations (assignments): 16 * 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.0004966/0.4591, allocations: 224 kB / 0.7376 GB, free: 0.7383 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004371/0.4596, allocations: 152.7 kB / 0.7378 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4596, allocations: 0 / 0.7378 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.4598, allocations: 91.36 kB / 0.7379 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.4605, allocations: 118.1 kB / 0.738 GB, free: 408 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4618, allocations: 0.5826 MB / 0.7385 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.462, allocations: 176.8 kB / 0.7387 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.4622, allocations: 60.33 kB / 0.7388 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.318e-05/0.4623, allocations: 28.5 kB / 0.7388 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of SimCode: time 5.72e-07/0.4623, allocations: 4 kB / 0.7388 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of Templates: time 0.01329/0.4756, allocations: 6.099 MB / 0.7448 GB, free: 9.531 MB / 0.5573 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: 6.418003531987779]