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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8386/0.8386, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009902/0.0009903, allocations: 173 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.4 MB / 426.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008725/0.0008723, allocations: 82.36 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001615/0.001615, allocations: 266.9 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004543, allocations: 19.98 kB / 0.662 GB, free: 6.773 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3602, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4931, allocations: 109.7 MB / 0.8466 GB, free: 484 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.4934, allocations: 91.94 kB / 0.8467 GB, free: 392 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01731/0.5108, allocations: 6.193 MB / 0.8528 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.968e-06/0.5108, allocations: 0 / 0.8528 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.5108, allocations: 7.938 kB / 0.8528 GB, free: 10.18 MB / 0.5261 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.0004152/0.5112, allocations: 371.5 kB / 0.8531 GB, free: 9.762 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5113, allocations: 8.031 kB / 0.8531 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.5113, allocations: 80.22 kB / 0.8532 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.5115, allocations: 251.6 kB / 0.8534 GB, free: 9.391 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/0.5116, allocations: 150.9 kB / 0.8536 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.636e-05/0.5116, allocations: 154.9 kB / 0.8537 GB, free: 9.09 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.37e-05/0.5117, allocations: 105.5 kB / 0.8538 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.5118, allocations: 75.47 kB / 0.8539 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.704e-05/0.5118, allocations: 158.5 kB / 0.8541 GB, free: 8.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.6e-05/0.5119, allocations: 150.6 kB / 0.8542 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.582e-05/0.5119, allocations: 158.5 kB / 0.8544 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.5123, allocations: 453.9 kB / 0.8548 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.032e-05/0.5123, allocations: 173.1 kB / 0.855 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.5124, allocations: 84.12 kB / 0.855 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.5124, allocations: 75.28 kB / 0.8551 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/0.5125, allocations: 109.8 kB / 0.8552 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.5125, allocations: 0 / 0.8552 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 7.414e-05/0.5126, allocations: 33.64 kB / 0.8552 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.5126, allocations: 126.7 kB / 0.8554 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.95e-05/0.5127, allocations: 109.8 kB / 0.8555 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.5128, allocations: 29.64 kB / 0.8555 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.5128, allocations: 84.14 kB / 0.8556 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.5128, allocations: 0 / 0.8556 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.5128, allocations: 4 kB / 0.8556 GB, free: 7.078 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5129, allocations: 310.8 kB / 0.8559 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.513, allocations: 0 / 0.8559 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.513, allocations: 42.48 kB / 0.8559 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.578e-05/0.5131, allocations: 18.58 kB / 0.8559 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5131, allocations: 0 / 0.8559 GB, free: 6.688 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001299/0.5132, allocations: 49.62 kB / 0.856 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.5132, allocations: 9.25 kB / 0.856 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.5132, allocations: 8.031 kB / 0.856 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5133, allocations: 0 / 0.856 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.5133, allocations: 7.938 kB / 0.856 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.5133, allocations: 7.938 kB / 0.856 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.27e-05/0.5134, allocations: 7.891 kB / 0.856 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.5134, allocations: 4 kB / 0.856 GB, free: 6.59 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.5135, allocations: 189.2 kB / 0.8562 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.488e-05/0.5136, allocations: 105 kB / 0.8563 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.645e-05/0.5137, allocations: 120 kB / 0.8564 GB, free: 6.164 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-05/0.5137, allocations: 180.3 kB / 0.8566 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.773e-05/0.5138, allocations: 180.3 kB / 0.8568 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.038e-05/0.5139, allocations: 180.2 kB / 0.8569 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.5141, allocations: 401.2 kB / 0.8573 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.776e-05/0.5142, allocations: 112.9 kB / 0.8574 GB, free: 5.047 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.868e-05/0.5142, allocations: 101 kB / 0.8575 GB, free: 4.941 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.553e-05/0.5143, allocations: 180.3 kB / 0.8577 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.666e-05/0.5143, allocations: 188.1 kB / 0.8579 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.539e-05/0.5144, allocations: 176.3 kB / 0.858 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.449e-05/0.5145, allocations: 180.2 kB / 0.8582 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.5146, allocations: 304.1 kB / 0.8585 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.5147, allocations: 190 kB / 0.8587 GB, free: 3.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.68e-05/0.5148, allocations: 184.2 kB / 0.8589 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.231e-05/0.5149, allocations: 108.9 kB / 0.859 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.515, allocations: 185.2 kB / 0.8591 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/0.515, allocations: 109 kB / 0.8592 GB, free: 3.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.954e-05/0.5151, allocations: 87.16 kB / 0.8593 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5151, allocations: 0 / 0.8593 GB, free: 2.984 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004142/0.5155, allocations: 63.97 kB / 0.8594 GB, free: 2.922 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006623/0.5162, allocations: 379.8 kB / 0.8597 GB, free: 2.574 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 7.749e-05/0.5162, allocations: 4 kB / 0.8598 GB, free: 2.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5163, allocations: 4.188 kB / 0.8598 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.763e-06/0.5163, allocations: 4 kB / 0.8598 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.5167, allocations: 0.5238 MB / 0.8603 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002555/0.5169, allocations: 181.8 kB / 0.8604 GB, free: 1.824 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.5172, allocations: 0.6809 MB / 0.8611 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.163e-05/0.5172, allocations: 0 / 0.8611 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.5172, allocations: 11.44 kB / 0.8611 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of SimCode: time 2.91e-07/0.5172, allocations: 0 / 0.8611 GB, free: 1.109 MB / 0.5261 GB Notification: Performance of Templates: time 0.004439/0.5217, allocations: 1.653 MB / 0.8627 GB, free: 15.46 MB / 0.5417 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)