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.004873/0.004873, allocations: 96.56 kB / 15.73 MB, free: 6.027 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.001093/0.001093, allocations: 194.5 kB / 16.68 MB, free: 5.957 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002036/0.002036, allocations: 287.1 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9501/0.9501, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 103.8 kB / 0.6815 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1564, allocations: 86.96 MB / 0.7664 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002166/0.1587, allocations: 1.27 MB / 0.7676 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1607, allocations: 1.441 MB / 0.769 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.906e-05/0.1607, allocations: 0 / 0.769 GB, free: 5.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.1607, allocations: 3.984 kB / 0.769 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.1609, allocations: 11.94 kB / 0.7691 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006062/0.1615, allocations: 218.5 kB / 0.7693 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.17e-05/0.1616, allocations: 27.92 kB / 0.7693 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.1617, allocations: 4 kB / 0.7693 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.1617, allocations: 19.97 kB / 0.7693 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.378e-05/0.1618, allocations: 7.938 kB / 0.7693 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.186e-05/0.1619, allocations: 0 / 0.7693 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.1622, allocations: 171.8 kB / 0.7695 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.1622, allocations: 4 kB / 0.7695 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.3e-05/0.1622, allocations: 11.98 kB / 0.7695 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1625, allocations: 143.6 kB / 0.7696 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1625, allocations: 0 / 0.7696 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1625, allocations: 3.938 kB / 0.7696 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.1625, allocations: 8 kB / 0.7697 GB, free: 5.047 MB / 0.5606 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.0003188/0.1628, allocations: 367.1 kB / 0.77 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1628, allocations: 15.97 kB / 0.77 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.225e-05/0.1629, allocations: 76.22 kB / 0.7701 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.163, allocations: 243.6 kB / 0.7703 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.1631, allocations: 150.9 kB / 0.7705 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.216e-05/0.1632, allocations: 162.7 kB / 0.7706 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.071e-05/0.1632, allocations: 105 kB / 0.7707 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.1633, allocations: 75.28 kB / 0.7708 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.946e-05/0.1633, allocations: 150.6 kB / 0.7709 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.086e-05/0.1634, allocations: 150.6 kB / 0.7711 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.509e-05/0.1634, allocations: 158.5 kB / 0.7712 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.1637, allocations: 453.9 kB / 0.7717 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.696e-05/0.1638, allocations: 169.1 kB / 0.7718 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.1638, allocations: 88.08 kB / 0.7719 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1638, allocations: 75.28 kB / 0.772 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.1639, allocations: 113.8 kB / 0.7721 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 2.284e-06/0.1639, allocations: 0 / 0.7721 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.822e-05/0.164, allocations: 33.64 kB / 0.7721 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.164, allocations: 126.7 kB / 0.7722 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/0.1641, allocations: 109.8 kB / 0.7723 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.1641, allocations: 29.7 kB / 0.7724 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.1642, allocations: 84.14 kB / 0.7725 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-06/0.1642, allocations: 4 kB / 0.7725 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1642, allocations: 25.64 kB / 0.7725 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.1643, allocations: 314.8 kB / 0.7728 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.1644, allocations: 0 / 0.7728 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.067e-05/0.1644, allocations: 26.56 kB / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.005e-05/0.1644, allocations: 30.52 kB / 0.7728 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1644, allocations: 0 / 0.7728 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001185/0.1646, allocations: 57.56 kB / 0.7729 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1646, allocations: 4 kB / 0.7729 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1646, allocations: 0 / 0.7729 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1646, allocations: 0 / 0.7729 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.507e-05/0.1647, allocations: 8 kB / 0.7729 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1647, allocations: 0 / 0.7729 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.1648, allocations: 12.08 kB / 0.7729 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.1649, allocations: 4 kB / 0.7729 GB, free: 1.445 MB / 0.5606 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 8.972e-05/0.1649, allocations: 189.7 kB / 0.7731 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.389e-05/0.165, allocations: 108.9 kB / 0.7732 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.165, allocations: 108.1 kB / 0.7733 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/0.1651, allocations: 180.2 kB / 0.7735 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.648e-05/0.1652, allocations: 180.3 kB / 0.7737 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.457e-05/0.1652, allocations: 188.2 kB / 0.7738 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.1654, allocations: 405.2 kB / 0.7742 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.2999/0.4653, allocations: 101.7 kB / 0.7743 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.4654, allocations: 104.6 kB / 0.7744 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.228e-05/0.4654, allocations: 181.7 kB / 0.7746 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.4654, allocations: 179.7 kB / 0.7748 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.157e-05/0.4655, allocations: 180.5 kB / 0.7749 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-05/0.4655, allocations: 184.1 kB / 0.7751 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.92e-05/0.4656, allocations: 310.6 kB / 0.7754 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.128e-05/0.4656, allocations: 183.5 kB / 0.7756 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.4656, allocations: 186.2 kB / 0.7758 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.853e-05/0.4657, allocations: 103.3 kB / 0.7759 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.4657, allocations: 180.3 kB / 0.776 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.4658, allocations: 105.8 kB / 0.7761 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.219e-05/0.4658, allocations: 86.17 kB / 0.7762 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4658, allocations: 0 / 0.7762 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004066/0.4662, allocations: 54.02 kB / 0.7763 GB, free: 13.25 MB / 0.5606 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.0005238/0.4667, allocations: 359.3 kB / 0.7766 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.421e-05/0.4669, allocations: 15.09 kB / 0.7766 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4669, allocations: 2.469 kB / 0.7766 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.144e-06/0.4669, allocations: 0.8438 kB / 0.7766 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.4671, allocations: 461.5 kB / 0.7771 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001934/0.4673, allocations: 174 kB / 0.7772 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.913e-05/0.4674, allocations: 0.6736 MB / 0.7779 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.664e-05/0.4674, allocations: 3.531 kB / 0.7779 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.419e-05/0.4675, allocations: 12.5 kB / 0.7779 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.4675, allocations: 0.75 kB / 0.7779 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.004139/0.4716, allocations: 1.615 MB / 0.7795 GB, free: 11.68 MB / 0.5606 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)