Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.00145/0.00145, allocations: 88.72 kB / 19.44 MB, free: 356 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.001669/0.001669, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.487/1.487, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.002523/0.002523, allocations: 229.6 kB / 259.8 MB, free: 12.86 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.12/1.12, allocations: 138.4 MB / 454.7 MB, free: 1.438 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.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.5543 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.205e-05/2.337e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002652/0.002676, allocations: 1.278 MB / 0.5556 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.005224, allocations: 1.543 MB / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.005256, allocations: 0 / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.005273, allocations: 0 / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.005468, allocations: 23.8 kB / 0.5571 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006529/0.006121, allocations: 219.2 kB / 0.5573 GB, free: 13.72 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.709e-05/0.006208, allocations: 27.91 kB / 0.5574 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.397e-05/0.006242, allocations: 4 kB / 0.5574 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.006385, allocations: 27.97 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.006449, allocations: 7.938 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.274e-05/0.006462, allocations: 0 / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.006786, allocations: 151.8 kB / 0.5575 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.006797, allocations: 0 / 0.5575 GB, free: 13.51 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.006824, allocations: 11.92 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.007147, allocations: 167.5 kB / 0.5577 GB, free: 13.33 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.007149, allocations: 7.938 kB / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.619e-06/0.007154, allocations: 3.984 kB / 0.5577 GB, free: 13.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.007157, allocations: 0 / 0.5577 GB, free: 13.32 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004039/0.007561, allocations: 293.9 kB / 0.558 GB, free: 13 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.007595, allocations: 8.75 kB / 0.558 GB, free: 13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.696e-05/0.007682, allocations: 84.2 kB / 0.5581 GB, free: 12.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.007852, allocations: 185 kB / 0.5583 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.113e-05/0.007943, allocations: 158.9 kB / 0.5584 GB, free: 12.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.008033, allocations: 150.9 kB / 0.5586 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.367e-05/0.008126, allocations: 105.5 kB / 0.5587 GB, free: 12.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.743e-05/0.008174, allocations: 79.22 kB / 0.5587 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.936e-05/0.008253, allocations: 150.6 kB / 0.5589 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.998e-05/0.008333, allocations: 150.6 kB / 0.559 GB, free: 11.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.179e-05/0.008415, allocations: 154.5 kB / 0.5592 GB, free: 11.77 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.008764, allocations: 409.6 kB / 0.5596 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.008886, allocations: 173.1 kB / 0.5597 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.204e-05/0.008938, allocations: 84.14 kB / 0.5598 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.008984, allocations: 75.28 kB / 0.5599 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.925e-05/0.009063, allocations: 109.8 kB / 0.56 GB, free: 10.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.21e-07/0.009064, allocations: 0 / 0.56 GB, free: 10.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 9.459e-05/0.009158, allocations: 37.59 kB / 0.56 GB, free: 10.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.009241, allocations: 130.7 kB / 0.5601 GB, free: 10.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.009357, allocations: 101.9 kB / 0.5602 GB, free: 10.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.009383, allocations: 29.7 kB / 0.5603 GB, free: 10.55 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.009444, allocations: 88.12 kB / 0.5604 GB, free: 10.46 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-06/0.009445, allocations: 0 / 0.5604 GB, free: 10.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.009489, allocations: 21.72 kB / 0.5604 GB, free: 10.43 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.009669, allocations: 310.8 kB / 0.5607 GB, free: 10.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.009686, allocations: 4 kB / 0.5607 GB, free: 10.12 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.009796, allocations: 111.6 kB / 0.5608 GB, free: 9.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.009839, allocations: 18.58 kB / 0.5608 GB, free: 9.953 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.009841, allocations: 3.938 kB / 0.5608 GB, free: 9.949 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001641/0.01, allocations: 57.62 kB / 0.5609 GB, free: 9.887 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.01002, allocations: 4 kB / 0.5609 GB, free: 9.883 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01002, allocations: 0 / 0.5609 GB, free: 9.883 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.01005, allocations: 3.938 kB / 0.5609 GB, free: 9.879 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.686e-05/0.01011, allocations: 15.92 kB / 0.5609 GB, free: 9.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.01012, allocations: 3.984 kB / 0.5609 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.01027, allocations: 4 kB / 0.5609 GB, free: 9.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.01028, allocations: 8 kB / 0.5609 GB, free: 9.848 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.0001354/0.01042, allocations: 189.2 kB / 0.5611 GB, free: 9.652 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.936e-05/0.0105, allocations: 105 kB / 0.5612 GB, free: 9.543 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.821e-05/0.01056, allocations: 108.1 kB / 0.5613 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000103/0.01067, allocations: 184.2 kB / 0.5615 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001028/0.01077, allocations: 184.2 kB / 0.5616 GB, free: 9.059 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.967e-05/0.01087, allocations: 180.2 kB / 0.5618 GB, free: 8.875 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002845/0.01115, allocations: 352.9 kB / 0.5621 GB, free: 8.492 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-05/0.01122, allocations: 105.2 kB / 0.5622 GB, free: 8.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.99e-05/0.01129, allocations: 113 kB / 0.5623 GB, free: 8.266 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001039/0.01139, allocations: 180.2 kB / 0.5625 GB, free: 8.082 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000312/0.0117, allocations: 176.3 kB / 0.5627 GB, free: 7.902 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001005/0.0118, allocations: 188.3 kB / 0.5629 GB, free: 7.711 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001116/0.01191, allocations: 184.1 kB / 0.563 GB, free: 7.523 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.01212, allocations: 311.7 kB / 0.5633 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.01218, allocations: 105.1 kB / 0.5634 GB, free: 7.086 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.01229, allocations: 180.2 kB / 0.5636 GB, free: 6.902 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/0.0124, allocations: 104.9 kB / 0.5637 GB, free: 6.793 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.01252, allocations: 192.2 kB / 0.5639 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-05/0.01258, allocations: 104.9 kB / 0.564 GB, free: 6.488 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.01264, allocations: 79.28 kB / 0.5641 GB, free: 6.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01264, allocations: 0 / 0.5641 GB, free: 6.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.01301, allocations: 55.8 kB / 0.5641 GB, free: 6.355 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0007688/0.01378, allocations: 363.3 kB / 0.5645 GB, free: 6.039 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.205e-05/0.01386, allocations: 4 kB / 0.5645 GB, free: 6.035 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01386, allocations: 0 / 0.5645 GB, free: 6.035 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.328e-06/0.01387, allocations: 3.938 kB / 0.5645 GB, free: 6.031 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.01432, allocations: 460.7 kB / 0.5649 GB, free: 5.578 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.0146, allocations: 176.3 kB / 0.5651 GB, free: 5.379 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.895e-05/0.01467, allocations: 63.53 kB / 0.5651 GB, free: 5.297 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.262e-05/0.01469, allocations: 4 kB / 0.5652 GB, free: 5.293 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.01472, allocations: 8.5 kB / 0.5652 GB, free: 5.285 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01472, allocations: 0 / 0.5652 GB, free: 5.285 MB / 490.7 MB Notification: Performance of Templates: time 0.004898/0.01962, allocations: 1.674 MB / 0.5668 GB, free: 3.66 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5832627940690145]