Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.00141/0.00141, allocations: 84.73 kB / 19.44 MB, free: 360 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.001607/0.001607, allocations: 157.7 kB / 22.75 MB, free: 1.688 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.499/1.499, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.002641/0.002641, allocations: 232.7 kB / 259.8 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 1.093/1.093, allocations: 138.5 MB / 454.7 MB, free: 1.461 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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 0.5544 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.538e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003748/0.003773, allocations: 1.881 MB / 0.5562 GB, free: 14.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00313/0.006903, allocations: 1.792 MB / 0.5579 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.456e-05/0.006998, allocations: 4 kB / 0.5579 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.007253, allocations: 39.64 kB / 0.558 GB, free: 13.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004946/0.007747, allocations: 115.3 kB / 0.5581 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005152/0.008263, allocations: 175.4 kB / 0.5583 GB, free: 12.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000433/0.008696, allocations: 297.2 kB / 0.5585 GB, free: 12.51 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.008806, allocations: 21.3 kB / 0.5586 GB, free: 12.49 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.009078, allocations: 143.8 kB / 0.5587 GB, free: 12.35 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.009309, allocations: 87.75 kB / 0.5588 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.196e-05/0.009361, allocations: 20 kB / 0.5588 GB, free: 12.25 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.009651, allocations: 131.8 kB / 0.5589 GB, free: 12.12 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.009784, allocations: 91.73 kB / 0.559 GB, free: 12.03 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.009919, allocations: 87.73 kB / 0.5591 GB, free: 11.94 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006505/0.01057, allocations: 394.6 kB / 0.5595 GB, free: 11.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01057, allocations: 0 / 0.5595 GB, free: 11.55 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01057, allocations: 0 / 0.5595 GB, free: 11.55 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.01058, allocations: 0 / 0.5595 GB, free: 11.55 MB / 490.7 MB 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.00101/0.01159, allocations: 0.5208 MB / 0.56 GB, free: 11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.01163, allocations: 12.73 kB / 0.56 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.01186, allocations: 52.69 kB / 0.56 GB, free: 10.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.01223, allocations: 224.7 kB / 0.5603 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.01226, allocations: 12.38 kB / 0.5603 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.0123, allocations: 24.38 kB / 0.5603 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.01289, allocations: 375 kB / 0.5607 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.0129, allocations: 3.938 kB / 0.5607 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.01293, allocations: 8 kB / 0.5607 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.01294, allocations: 4 kB / 0.5607 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.014, allocations: 0.6982 MB / 0.5614 GB, free: 9.531 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.01516, allocations: 0.5392 MB / 0.5619 GB, free: 8.957 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005769/0.01574, allocations: 298.5 kB / 0.5622 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.01595, allocations: 101.4 kB / 0.5623 GB, free: 8.555 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.01599, allocations: 12.27 kB / 0.5623 GB, free: 8.543 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004481/0.01644, allocations: 234.8 kB / 0.5625 GB, free: 8.289 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 1.683e-06/0.01644, allocations: 0 / 0.5625 GB, free: 8.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008455/0.01729, allocations: 400.9 kB / 0.5629 GB, free: 7.891 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.0174, allocations: 132.5 kB / 0.563 GB, free: 7.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004233/0.01782, allocations: 325.8 kB / 0.5633 GB, free: 7.402 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.01786, allocations: 29.7 kB / 0.5633 GB, free: 7.367 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.01799, allocations: 144.6 kB / 0.5635 GB, free: 7.223 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.01811, allocations: 119 kB / 0.5636 GB, free: 7.105 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.01823, allocations: 69.64 kB / 0.5637 GB, free: 7.031 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002005/0.01844, allocations: 338.8 kB / 0.564 GB, free: 6.691 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.01861, allocations: 79.95 kB / 0.5641 GB, free: 6.613 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/0.0189, allocations: 209.7 kB / 0.5643 GB, free: 6.379 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.0193, allocations: 209.1 kB / 0.5645 GB, free: 6.172 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.0193, allocations: 4 kB / 0.5645 GB, free: 6.168 MB / 490.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005677/0.01987, allocations: 301.1 kB / 0.5648 GB, free: 5.867 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.01988, allocations: 4 kB / 0.5648 GB, free: 5.863 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.01989, allocations: 3.984 kB / 0.5648 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.01991, allocations: 0 / 0.5648 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.02016, allocations: 71.91 kB / 0.5648 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.02017, allocations: 0 / 0.5648 GB, free: 5.789 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.02035, allocations: 35.7 kB / 0.5649 GB, free: 5.754 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.02038, allocations: 12 kB / 0.5649 GB, free: 5.742 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0001997/0.02058, allocations: 165.7 kB / 0.565 GB, free: 5.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.02068, allocations: 43.81 kB / 0.5651 GB, free: 5.527 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008096/0.02149, allocations: 381 kB / 0.5654 GB, free: 5.148 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.0215, allocations: 4 kB / 0.5654 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.0215, allocations: 0 / 0.5654 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.02151, allocations: 3.938 kB / 0.5654 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.02186, allocations: 245.1 kB / 0.5657 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.02187, allocations: 3.984 kB / 0.5657 GB, free: 4.867 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.02207, allocations: 55.92 kB / 0.5657 GB, free: 4.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.02208, allocations: 7.984 kB / 0.5657 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.0221, allocations: 8 kB / 0.5658 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.0221, allocations: 0 / 0.5658 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.0221, allocations: 0 / 0.5658 GB, free: 4.797 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006298/0.02273, allocations: 345.9 kB / 0.5661 GB, free: 4.441 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.02288, allocations: 71.69 kB / 0.5661 GB, free: 4.371 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.186e-05/0.02292, allocations: 4 kB / 0.5662 GB, free: 4.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.02313, allocations: 31.97 kB / 0.5662 GB, free: 4.336 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.744e-05/0.02321, allocations: 27.81 kB / 0.5662 GB, free: 4.309 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.02325, allocations: 19.98 kB / 0.5662 GB, free: 4.289 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002924/0.02354, allocations: 249.2 kB / 0.5665 GB, free: 4.047 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.02354, allocations: 3.938 kB / 0.5665 GB, free: 4.043 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003783/0.02392, allocations: 83.81 kB / 0.5665 GB, free: 3.961 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002074/0.02599, allocations: 497.6 kB / 0.567 GB, free: 3.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004674/0.02646, allocations: 224.1 kB / 0.5672 GB, free: 3.441 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.02646, allocations: 0 / 0.5672 GB, free: 3.441 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.0267, allocations: 123.8 kB / 0.5674 GB, free: 3.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.02706, allocations: 65.31 kB / 0.5674 GB, free: 3.258 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.02825, allocations: 0.5614 MB / 0.568 GB, free: 2.664 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.02843, allocations: 154.9 kB / 0.5681 GB, free: 2.496 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003628/0.02879, allocations: 150.8 kB / 0.5683 GB, free: 2.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.02891, allocations: 52.47 kB / 0.5683 GB, free: 2.301 MB / 490.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02891, allocations: 0 / 0.5683 GB, free: 2.301 MB / 490.7 MB Notification: Performance of Templates: time 0.009489/0.0384, allocations: 3.962 MB / 0.5722 GB, free: 14.42 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.721682021045126]