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.001337/0.001337, allocations: 105.8 kB / 16.41 MB, free: 6.488 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.001236/0.001236, allocations: 191.8 kB / 17.34 MB, free: 5.762 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.405/1.405, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002616/0.002616, allocations: 286.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.061/1.061, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 99.84 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.415, allocations: 86.98 MB / 0.7671 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002417/0.4174, allocations: 1.257 MB / 0.7683 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.4197, allocations: 1.45 MB / 0.7697 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.4197, allocations: 4 kB / 0.7697 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.189e-05/0.4198, allocations: 0 / 0.7697 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001921/0.42, allocations: 15.94 kB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006245/0.4206, allocations: 218.1 kB / 0.7699 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.697e-05/0.4207, allocations: 23.88 kB / 0.77 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.137e-05/0.4207, allocations: 7.984 kB / 0.77 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.4208, allocations: 19.92 kB / 0.77 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.4209, allocations: 11.98 kB / 0.77 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.4209, allocations: 0 / 0.77 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.4212, allocations: 167.8 kB / 0.7702 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.4212, allocations: 7.922 kB / 0.7702 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.834e-05/0.4212, allocations: 11.98 kB / 0.7702 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002448/0.4215, allocations: 145.3 kB / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4215, allocations: 0 / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4215, allocations: 0 / 0.7703 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.4215, allocations: 0 / 0.7703 GB, free: 0.5664 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.0004543/0.4219, allocations: 375 kB / 0.7707 GB, free: 156 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.422, allocations: 8.031 kB / 0.7707 GB, free: 148 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.4221, allocations: 84.22 kB / 0.7708 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.4223, allocations: 239.7 kB / 0.771 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.913e-05/0.4224, allocations: 162.9 kB / 0.7711 GB, free: 15.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9e-05/0.4225, allocations: 162.6 kB / 0.7713 GB, free: 15.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.349e-05/0.4225, allocations: 105 kB / 0.7714 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/0.4226, allocations: 75.28 kB / 0.7715 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-05/0.4226, allocations: 154.6 kB / 0.7716 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.861e-05/0.4227, allocations: 150.6 kB / 0.7718 GB, free: 14.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.365e-05/0.4228, allocations: 154.6 kB / 0.7719 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.4232, allocations: 453.9 kB / 0.7723 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.4233, allocations: 165.1 kB / 0.7725 GB, free: 14.17 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.013e-05/0.4233, allocations: 84.08 kB / 0.7726 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.4233, allocations: 83.28 kB / 0.7727 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.313e-05/0.4234, allocations: 109.9 kB / 0.7728 GB, free: 13.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.4234, allocations: 0 / 0.7728 GB, free: 13.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.935e-05/0.4235, allocations: 33.64 kB / 0.7728 GB, free: 13.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.4236, allocations: 134.7 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4237, allocations: 101.8 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.4237, allocations: 25.7 kB / 0.7731 GB, free: 13.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.588e-05/0.4238, allocations: 92.12 kB / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/0.4238, allocations: 0 / 0.7731 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.4238, allocations: 21.66 kB / 0.7732 GB, free: 13.44 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.424, allocations: 318.8 kB / 0.7735 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.279e-05/0.424, allocations: 0 / 0.7735 GB, free: 13.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.474e-05/0.424, allocations: 26.56 kB / 0.7735 GB, free: 13.08 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.088e-05/0.4241, allocations: 30.52 kB / 0.7735 GB, free: 13.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4241, allocations: 0 / 0.7735 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001403/0.4242, allocations: 53.56 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.4242, allocations: 8 kB / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.4242, allocations: 0 / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4243, allocations: 0 / 0.7736 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.4243, allocations: 8.078 kB / 0.7736 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.4243, allocations: 8 kB / 0.7736 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.4245, allocations: 7.938 kB / 0.7736 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.061e-05/0.4245, allocations: 0 / 0.7736 GB, free: 12.95 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 0.0001223/0.4246, allocations: 191.5 kB / 0.7738 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.4247, allocations: 112.8 kB / 0.7739 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.4248, allocations: 112.2 kB / 0.774 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.133e-05/0.4248, allocations: 184.2 kB / 0.7742 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.032e-05/0.4249, allocations: 176.3 kB / 0.7743 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.771e-05/0.425, allocations: 176.3 kB / 0.7745 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.4253, allocations: 413.1 kB / 0.7749 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-05/0.4253, allocations: 101.1 kB / 0.775 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.4254, allocations: 117.2 kB / 0.7751 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.003e-05/0.4254, allocations: 180.2 kB / 0.7753 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.65e-05/0.4255, allocations: 188.2 kB / 0.7755 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.879e-05/0.4256, allocations: 180.2 kB / 0.7756 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.966e-05/0.4257, allocations: 180.3 kB / 0.7758 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.4259, allocations: 323.6 kB / 0.7761 GB, free: 10.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.426, allocations: 182 kB / 0.7763 GB, free: 10.01 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/0.4261, allocations: 176.3 kB / 0.7765 GB, free: 9.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.317e-05/0.4262, allocations: 105 kB / 0.7766 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.4263, allocations: 184.2 kB / 0.7767 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.4263, allocations: 105 kB / 0.7768 GB, free: 9.422 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.4264, allocations: 83.28 kB / 0.7769 GB, free: 9.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4264, allocations: 0 / 0.7769 GB, free: 9.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003427/0.4267, allocations: 59.73 kB / 0.777 GB, free: 9.281 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.0006588/0.4274, allocations: 335.8 kB / 0.7773 GB, free: 8.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.786e-05/0.4275, allocations: 15.94 kB / 0.7773 GB, free: 8.965 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4275, allocations: 4.188 kB / 0.7773 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.724e-06/0.4275, allocations: 0 / 0.7773 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.4279, allocations: 460.5 kB / 0.7777 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002634/0.4281, allocations: 173.4 kB / 0.7779 GB, free: 8.309 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.4284, allocations: 0.6806 MB / 0.7786 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.459e-05/0.4285, allocations: 4 kB / 0.7786 GB, free: 7.598 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.4285, allocations: 15.38 kB / 0.7786 GB, free: 7.582 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.4285, allocations: 0 / 0.7786 GB, free: 7.582 MB / 0.545 GB Notification: Performance of Templates: time 0.004625/0.4331, allocations: 1.614 MB / 0.7802 GB, free: 6.012 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)