Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|latitude|longitude|timeZone",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 107 kB / 16.41 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 187 kB / 17.34 MB, free: 5.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.524/2.524, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 67.89 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8395/0.841, allocations: 151.6 MB / 1.167 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002577/0.8437, allocations: 1.268 MB / 1.169 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002367/0.8461, allocations: 1.439 MB / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.8461, allocations: 0 / 1.17 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.8462, allocations: 3.938 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.8464, allocations: 19.92 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.8471, allocations: 211.4 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.125e-05/0.8472, allocations: 23.92 kB / 1.17 GB, free: 0.9414 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.841e-05/0.8472, allocations: 4 kB / 1.17 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.724e-05/0.8473, allocations: 23.98 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001149/0.8474, allocations: 11.92 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.8475, allocations: 0 / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002739/0.8477, allocations: 167.8 kB / 1.17 GB, free: 0.7383 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.8478, allocations: 3.984 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.8478, allocations: 19.92 kB / 1.17 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002544/0.848, allocations: 135.8 kB / 1.171 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.8481, allocations: 3.938 kB / 1.171 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8481, allocations: 0 / 1.171 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.8481, allocations: 0 / 1.171 GB, free: 0.5781 MB / 0.8887 GB 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.0003948/0.8485, allocations: 371.2 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.8485, allocations: 8.922 kB / 1.171 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.853e-05/0.8486, allocations: 84.12 kB / 1.171 GB, free: 84 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.8488, allocations: 239.7 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.093e-05/0.8489, allocations: 154.9 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.8489, allocations: 162.7 kB / 1.172 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.972e-05/0.849, allocations: 109 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.849, allocations: 75.28 kB / 1.172 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.44e-05/0.8491, allocations: 154.5 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.693e-05/0.8492, allocations: 150.6 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.144e-05/0.8492, allocations: 154.6 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.8496, allocations: 453.9 kB / 1.173 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.265e-05/0.8497, allocations: 173.1 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.8497, allocations: 88.08 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.8498, allocations: 83.16 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.8498, allocations: 113.9 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.8498, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.924e-05/0.8499, allocations: 29.7 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.501e-05/0.85, allocations: 130.7 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.8501, allocations: 101.8 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.8501, allocations: 25.7 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.8502, allocations: 88.14 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.8502, allocations: 0 / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.8503, allocations: 17.72 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.8504, allocations: 322.8 kB / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.315e-05/0.8504, allocations: 0 / 1.174 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.322e-05/0.8505, allocations: 30.52 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.8505, allocations: 22.56 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.8505, allocations: 4 kB / 1.174 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001411/0.8507, allocations: 53.48 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.8507, allocations: 8 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.8507, allocations: 0 / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.8507, allocations: 0 / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.8508, allocations: 15.92 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.8508, allocations: 0 / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.851, allocations: 4 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.851, allocations: 4.078 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB 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.0001226/0.8511, allocations: 195.1 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.485e-05/0.8512, allocations: 104.9 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.082e-05/0.8513, allocations: 116.1 kB / 1.174 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.218e-05/0.8514, allocations: 176.3 kB / 1.174 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.42e-05/0.8514, allocations: 180.2 kB / 1.175 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.27e-05/0.8515, allocations: 192.2 kB / 1.175 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.8518, allocations: 397.2 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/0.8518, allocations: 108.9 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.121e-05/0.8518, allocations: 105 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.323e-05/0.8519, allocations: 184.2 kB / 1.176 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.83e-05/0.852, allocations: 180.3 kB / 1.176 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-05/0.8521, allocations: 176.3 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-05/0.8521, allocations: 192.4 kB / 1.176 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001291/0.8523, allocations: 311.7 kB / 1.176 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.8523, allocations: 178.1 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.389e-05/0.8524, allocations: 188.2 kB / 1.177 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.348e-05/0.8525, allocations: 104.9 kB / 1.177 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.8526, allocations: 184.2 kB / 1.177 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/0.8526, allocations: 108.9 kB / 1.177 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.249e-05/0.8527, allocations: 79.28 kB / 1.177 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8527, allocations: 0 / 1.177 GB, free: 9.359 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003225/0.853, allocations: 55.98 kB / 1.177 GB, free: 9.305 MB / 0.9044 GB 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.000595/0.8536, allocations: 342.8 kB / 1.178 GB, free: 9 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.25e-05/0.8537, allocations: 19.92 kB / 1.178 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.8537, allocations: 0 / 1.178 GB, free: 8.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-06/0.8537, allocations: 3.938 kB / 1.178 GB, free: 8.977 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.8541, allocations: 467.1 kB / 1.178 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000277/0.8544, allocations: 202.9 kB / 1.178 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.8547, allocations: 0.6729 MB / 1.179 GB, free: 7.59 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.474e-05/0.8547, allocations: 11.44 kB / 1.179 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of SimCode: time 2.1e-07/0.8547, allocations: 0 / 1.179 GB, free: 7.578 MB / 0.9044 GB Notification: Performance of Templates: time 0.003301/0.858, allocations: 1.592 MB / 1.18 GB, free: 5.992 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)