Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001343/0.001343, allocations: 106.6 kB / 16.52 MB, free: 6.266 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.001354/0.001354, allocations: 197 kB / 17.44 MB, free: 5.887 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.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7323/0.7323, allocations: 115.3 MB / 406.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001237, allocations: 63.91 kB / 493.6 MB, free: 0.832 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3764/0.3777, allocations: 76.17 MB / 0.5564 GB, free: 36.26 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002246/0.38, allocations: 1.326 MB / 0.5577 GB, free: 35.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3819, allocations: 1.424 MB / 0.5591 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.927e-05/0.3819, allocations: 0 / 0.5591 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.382, allocations: 0 / 0.5591 GB, free: 34.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.3822, allocations: 14.58 kB / 0.5591 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.3827, allocations: 191.2 kB / 0.5593 GB, free: 34.27 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.199e-05/0.3828, allocations: 21.84 kB / 0.5593 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.3828, allocations: 1.406 kB / 0.5593 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.717e-05/0.3829, allocations: 15.84 kB / 0.5593 GB, free: 34.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.383, allocations: 19.42 kB / 0.5593 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.383, allocations: 1.594 kB / 0.5593 GB, free: 34.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.3833, allocations: 143.6 kB / 0.5595 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.3833, allocations: 3.766 kB / 0.5595 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.3834, allocations: 9.141 kB / 0.5595 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.3835, allocations: 103.7 kB / 0.5596 GB, free: 34.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3836, allocations: 0 / 0.5596 GB, free: 34.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3836, allocations: 5.219 kB / 0.5596 GB, free: 34.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.526e-06/0.3836, allocations: 0 / 0.5596 GB, free: 34.16 MB / 446.1 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.000318/0.3839, allocations: 367.2 kB / 0.5599 GB, free: 33.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3839, allocations: 9.25 kB / 0.5599 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.384, allocations: 83.59 kB / 0.56 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.3841, allocations: 247.9 kB / 0.5603 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.3842, allocations: 154.9 kB / 0.5604 GB, free: 33.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.3842, allocations: 157.3 kB / 0.5605 GB, free: 33.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.793e-05/0.3843, allocations: 102.3 kB / 0.5606 GB, free: 33.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3843, allocations: 79.84 kB / 0.5607 GB, free: 32.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.3843, allocations: 151.6 kB / 0.5609 GB, free: 32.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.3843, allocations: 151.5 kB / 0.561 GB, free: 32.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.629e-05/0.3844, allocations: 156.6 kB / 0.5612 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.3846, allocations: 461.6 kB / 0.5616 GB, free: 32.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.054e-05/0.3846, allocations: 166.2 kB / 0.5618 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.853e-05/0.3847, allocations: 86.7 kB / 0.5618 GB, free: 31.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.3847, allocations: 76.38 kB / 0.5619 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.3847, allocations: 108.2 kB / 0.562 GB, free: 31.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.724e-06/0.3847, allocations: 2.172 kB / 0.562 GB, free: 31.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.716e-05/0.3848, allocations: 33.88 kB / 0.5621 GB, free: 31.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.3848, allocations: 131.7 kB / 0.5622 GB, free: 31.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.863e-05/0.3849, allocations: 104.8 kB / 0.5623 GB, free: 31.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-06/0.3849, allocations: 27.14 kB / 0.5623 GB, free: 31.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.564e-05/0.385, allocations: 82.61 kB / 0.5624 GB, free: 31.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.385, allocations: 0 / 0.5624 GB, free: 31.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.385, allocations: 20.64 kB / 0.5624 GB, free: 31.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.591e-05/0.3851, allocations: 318.2 kB / 0.5627 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.3851, allocations: 5.359 kB / 0.5627 GB, free: 30.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.078e-05/0.3851, allocations: 25.67 kB / 0.5627 GB, free: 30.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.807e-05/0.3852, allocations: 30.7 kB / 0.5628 GB, free: 30.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3852, allocations: 2 kB / 0.5628 GB, free: 30.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001223/0.3853, allocations: 49.7 kB / 0.5628 GB, free: 30.74 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.3853, allocations: 5.781 kB / 0.5628 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3853, allocations: 1.062 kB / 0.5628 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3854, allocations: 3.75 kB / 0.5628 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.387e-05/0.3854, allocations: 4.469 kB / 0.5628 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3854, allocations: 4.844 kB / 0.5628 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.3856, allocations: 16 kB / 0.5628 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.3856, allocations: 4.797 kB / 0.5629 GB, free: 30.73 MB / 446.1 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 6.359e-05/0.3857, allocations: 189.2 kB / 0.563 GB, free: 30.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3857, allocations: 108.3 kB / 0.5631 GB, free: 30.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.3858, allocations: 114.2 kB / 0.5632 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.3858, allocations: 187.8 kB / 0.5634 GB, free: 30.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/0.3858, allocations: 177.5 kB / 0.5636 GB, free: 29.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.729e-05/0.3859, allocations: 182.3 kB / 0.5638 GB, free: 29.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.386, allocations: 409 kB / 0.5642 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/0.386, allocations: 102.3 kB / 0.5643 GB, free: 29.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.386, allocations: 107.6 kB / 0.5644 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.677e-05/0.3861, allocations: 178.7 kB / 0.5645 GB, free: 28.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.3861, allocations: 182.8 kB / 0.5647 GB, free: 28.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.743e-05/0.3861, allocations: 183.2 kB / 0.5649 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.362e-05/0.3862, allocations: 181.5 kB / 0.5651 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.901e-05/0.3862, allocations: 308 kB / 0.5653 GB, free: 28.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.464e-05/0.3863, allocations: 189.2 kB / 0.5655 GB, free: 27.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.3863, allocations: 185.4 kB / 0.5657 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.815e-05/0.3864, allocations: 104 kB / 0.5658 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.3864, allocations: 180.2 kB / 0.566 GB, free: 27.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.3864, allocations: 104.3 kB / 0.5661 GB, free: 27.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.89e-05/0.3865, allocations: 87.36 kB / 0.5662 GB, free: 27.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3865, allocations: 0 / 0.5662 GB, free: 27.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003411/0.3868, allocations: 48.67 kB / 0.5662 GB, free: 27.18 MB / 446.1 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.0005375/0.3874, allocations: 345.3 kB / 0.5665 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.158e-05/0.3875, allocations: 13.27 kB / 0.5665 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3875, allocations: 1.156 kB / 0.5665 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.3875, allocations: 0.6562 kB / 0.5665 GB, free: 26.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.3878, allocations: 0.53 MB / 0.5671 GB, free: 26.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.388, allocations: 204.9 kB / 0.5673 GB, free: 26.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.3881, allocations: 0.675 MB / 0.5679 GB, free: 25.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.443e-05/0.3881, allocations: 13.62 kB / 0.5679 GB, free: 25.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3881, allocations: 1.125 kB / 0.5679 GB, free: 25.52 MB / 446.1 MB Notification: Performance of Templates: time 0.003839/0.392, allocations: 1.592 MB / 0.5695 GB, free: 25.39 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)