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.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005757/0.005757, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001292/0.001292, allocations: 193.2 kB / 16.67 MB, free: 5.52 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002094/0.002094, allocations: 282.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9141/0.9141, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 99.84 kB / 0.6815 GB, free: 6.922 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3702, allocations: 86.98 MB / 0.7664 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001955/0.3722, allocations: 1.268 MB / 0.7676 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00188/0.3741, allocations: 1.442 MB / 0.769 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.775e-05/0.3741, allocations: 0 / 0.769 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.3741, allocations: 3.984 kB / 0.769 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001663/0.3743, allocations: 15.92 kB / 0.7691 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.3749, allocations: 206.2 kB / 0.7693 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.315e-05/0.375, allocations: 27.86 kB / 0.7693 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.375, allocations: 3.938 kB / 0.7693 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.3751, allocations: 27.97 kB / 0.7693 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.539e-05/0.3752, allocations: 10.75 kB / 0.7693 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.3752, allocations: 0 / 0.7693 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.3755, allocations: 175.7 kB / 0.7695 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.012e-05/0.3755, allocations: 0 / 0.7695 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.256e-05/0.3755, allocations: 11.98 kB / 0.7695 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.3758, allocations: 147.3 kB / 0.7696 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3758, allocations: 0 / 0.7696 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3758, allocations: 0 / 0.7696 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3758, allocations: 0 / 0.7696 GB, free: 0.5625 MB / 0.5294 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.0003591/0.3762, allocations: 375.4 kB / 0.77 GB, free: 152 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3762, allocations: 8.031 kB / 0.77 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.051e-05/0.3763, allocations: 84.16 kB / 0.7701 GB, free: 60 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.3764, allocations: 239.6 kB / 0.7703 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.498e-05/0.3765, allocations: 154.9 kB / 0.7705 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.987e-05/0.3766, allocations: 154.7 kB / 0.7706 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.041e-05/0.3766, allocations: 105 kB / 0.7707 GB, free: 15.37 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.3767, allocations: 79.28 kB / 0.7708 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5e-05/0.3767, allocations: 154.6 kB / 0.7709 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.3768, allocations: 150.6 kB / 0.7711 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.256e-05/0.3768, allocations: 154.5 kB / 0.7712 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.3771, allocations: 457.9 kB / 0.7717 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.359e-05/0.3772, allocations: 169.1 kB / 0.7718 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.3772, allocations: 84.08 kB / 0.7719 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3772, allocations: 75.28 kB / 0.772 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.3773, allocations: 109.9 kB / 0.7721 GB, free: 13.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.3773, allocations: 4 kB / 0.7721 GB, free: 13.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 6.928e-05/0.3774, allocations: 33.64 kB / 0.7721 GB, free: 13.85 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.3774, allocations: 126.7 kB / 0.7722 GB, free: 13.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.891e-05/0.3775, allocations: 112.5 kB / 0.7723 GB, free: 13.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.3775, allocations: 25.7 kB / 0.7724 GB, free: 13.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.3776, allocations: 92.05 kB / 0.7725 GB, free: 13.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.3776, allocations: 3.938 kB / 0.7725 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.3776, allocations: 17.7 kB / 0.7725 GB, free: 13.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.3777, allocations: 322.8 kB / 0.7728 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.3777, allocations: 0 / 0.7728 GB, free: 13.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.3778, allocations: 30.55 kB / 0.7728 GB, free: 13.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.763e-05/0.3778, allocations: 26.52 kB / 0.7728 GB, free: 13.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3778, allocations: 0 / 0.7728 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000112/0.378, allocations: 57.56 kB / 0.7729 GB, free: 12.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.378, allocations: 8 kB / 0.7729 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.378, allocations: 0 / 0.7729 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.378, allocations: 0 / 0.7729 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.399e-05/0.3781, allocations: 4 kB / 0.7729 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3781, allocations: 4 kB / 0.7729 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.3782, allocations: 7.984 kB / 0.7729 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.3782, allocations: 0 / 0.7729 GB, free: 12.96 MB / 0.545 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 9.214e-05/0.3783, allocations: 199.6 kB / 0.7731 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.3784, allocations: 104.9 kB / 0.7732 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.3785, allocations: 116.1 kB / 0.7733 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.919e-05/0.3785, allocations: 180.2 kB / 0.7735 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.324e-05/0.3786, allocations: 176.3 kB / 0.7737 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-05/0.3786, allocations: 184.3 kB / 0.7738 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.3789, allocations: 409.1 kB / 0.7742 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/0.3789, allocations: 104.9 kB / 0.7743 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.954e-05/0.3789, allocations: 104.9 kB / 0.7744 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-05/0.379, allocations: 184.3 kB / 0.7746 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/0.3791, allocations: 184.2 kB / 0.7748 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.747e-05/0.3791, allocations: 180.3 kB / 0.775 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.127e-05/0.3792, allocations: 180.3 kB / 0.7751 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.3793, allocations: 311.7 kB / 0.7754 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.3794, allocations: 189.9 kB / 0.7756 GB, free: 10.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.862e-05/0.3795, allocations: 180.3 kB / 0.7758 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.3796, allocations: 101 kB / 0.7759 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.186e-05/0.3796, allocations: 184.2 kB / 0.776 GB, free: 9.543 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.3797, allocations: 109.2 kB / 0.7761 GB, free: 9.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.3797, allocations: 83.28 kB / 0.7762 GB, free: 9.348 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.482e-06/0.3797, allocations: 0 / 0.7762 GB, free: 9.348 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003036/0.38, allocations: 59.92 kB / 0.7763 GB, free: 9.289 MB / 0.545 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.0004801/0.3805, allocations: 338 kB / 0.7766 GB, free: 8.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.207e-05/0.3806, allocations: 15.94 kB / 0.7766 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3806, allocations: 0 / 0.7766 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3806, allocations: 0 / 0.7766 GB, free: 8.969 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.381, allocations: 459.8 kB / 0.7771 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001955/0.3812, allocations: 177.4 kB / 0.7772 GB, free: 8.312 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002087/0.3814, allocations: 0.669 MB / 0.7779 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.23e-05/0.3814, allocations: 11.92 kB / 0.7779 GB, free: 7.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.252e-05/0.3814, allocations: 7.438 kB / 0.7779 GB, free: 7.598 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.3814, allocations: 3.938 kB / 0.7779 GB, free: 7.594 MB / 0.545 GB Notification: Performance of Templates: time 0.003685/0.3851, allocations: 1.612 MB / 0.7795 GB, free: 6.023 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (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)