Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008343/0.008343, allocations: 104 kB / 15.73 MB, free: 6.043 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.001917/0.001917, allocations: 189.6 kB / 16.67 MB, free: 5.973 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 / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.069/1.069, allocations: 135.1 MB / 425.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 0.5856 GB, free: 3.32 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.5281, allocations: 80.91 MB / 0.6647 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3): time 0.002369/0.5305, allocations: 1.249 MB / 0.6659 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001511/0.532, allocations: 1.012 MB / 0.6669 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.5321, allocations: 0 / 0.6669 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.664e-05/0.5321, allocations: 0 / 0.6669 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004711/0.5326, allocations: 108.2 kB / 0.667 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.457e-06/0.5326, allocations: 3.938 kB / 0.667 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.5327, allocations: 9.375 kB / 0.667 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.144e-05/0.5327, allocations: 1.625 kB / 0.667 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.854e-05/0.5327, allocations: 1.562 kB / 0.667 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.5329, allocations: 6.469 kB / 0.667 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.5329, allocations: 0 / 0.667 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.5331, allocations: 127.1 kB / 0.6671 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.583e-06/0.5331, allocations: 3.938 kB / 0.6671 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.35e-05/0.5332, allocations: 0 / 0.6671 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.5334, allocations: 99.2 kB / 0.6672 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.5334, allocations: 3.938 kB / 0.6672 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5334, allocations: 0 / 0.6672 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.5334, allocations: 5.094 kB / 0.6672 GB, free: 5.586 MB / 0.4981 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.0002971/0.5337, allocations: 357.1 kB / 0.6676 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5338, allocations: 9.188 kB / 0.6676 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.405e-05/0.5338, allocations: 77.69 kB / 0.6676 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.5339, allocations: 236.8 kB / 0.6679 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.536e-05/0.534, allocations: 154.9 kB / 0.668 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.988e-05/0.534, allocations: 156.3 kB / 0.6682 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.152e-05/0.5341, allocations: 105.1 kB / 0.6683 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5341, allocations: 75.28 kB / 0.6683 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.5341, allocations: 151.8 kB / 0.6685 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.5341, allocations: 154.5 kB / 0.6686 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.195e-05/0.5342, allocations: 155.8 kB / 0.6688 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.5344, allocations: 447.4 kB / 0.6692 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.047e-05/0.5344, allocations: 165.1 kB / 0.6694 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/0.5345, allocations: 81.61 kB / 0.6694 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.5345, allocations: 75.28 kB / 0.6695 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.5345, allocations: 119.4 kB / 0.6696 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.5345, allocations: 0 / 0.6696 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.69e-05/0.5346, allocations: 33.69 kB / 0.6697 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.5346, allocations: 127.5 kB / 0.6698 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.5347, allocations: 93.7 kB / 0.6699 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-06/0.5347, allocations: 29.64 kB / 0.6699 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.717e-05/0.5348, allocations: 80.27 kB / 0.67 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-06/0.5348, allocations: 5.406 kB / 0.67 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/0.5348, allocations: 11.16 kB / 0.67 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.522e-05/0.5349, allocations: 314.8 kB / 0.6703 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-06/0.5349, allocations: 0 / 0.6703 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.5349, allocations: 1.156 kB / 0.6703 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.411e-05/0.5349, allocations: 75.28 kB / 0.6704 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.5349, allocations: 79.22 kB / 0.6704 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.584e-05/0.535, allocations: 35.94 kB / 0.6705 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.535, allocations: 85.56 kB / 0.6706 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.535, allocations: 75.28 kB / 0.6706 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/0.535, allocations: 164.1 kB / 0.6708 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.331e-05/0.5351, allocations: 76.5 kB / 0.6709 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/0.5351, allocations: 154.5 kB / 0.671 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.652e-05/0.5352, allocations: 76.62 kB / 0.6711 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.5352, allocations: 84.75 kB / 0.6712 GB, free: 1.363 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 7.151e-05/0.5353, allocations: 263 kB / 0.6714 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.5353, allocations: 114.5 kB / 0.6715 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.821e-05/0.5353, allocations: 108.1 kB / 0.6716 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.917e-05/0.5354, allocations: 181.7 kB / 0.6718 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/0.5354, allocations: 185.4 kB / 0.672 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.982e-05/0.5354, allocations: 181.5 kB / 0.6721 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.5356, allocations: 398.5 kB / 0.6725 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.409e-05/0.5357, allocations: 102.2 kB / 0.6726 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.973e-05/0.5357, allocations: 118.1 kB / 0.6727 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.134e-05/0.5358, allocations: 180.3 kB / 0.6729 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.709e-05/0.5359, allocations: 181.5 kB / 0.6731 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-05/0.5359, allocations: 181.4 kB / 0.6732 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.277e-05/0.536, allocations: 181.4 kB / 0.6734 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.5361, allocations: 307.6 kB / 0.6737 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.5362, allocations: 187 kB / 0.6739 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.302e-05/0.5363, allocations: 181.6 kB / 0.6741 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.5364, allocations: 106.2 kB / 0.6742 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.302e-05/0.5364, allocations: 180.2 kB / 0.6743 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.5365, allocations: 102 kB / 0.6744 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.5365, allocations: 90 kB / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5365, allocations: 0 / 0.6745 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003408/0.5369, allocations: 40.48 kB / 0.6746 GB, free: 13.7 MB / 0.5137 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.0005764/0.5375, allocations: 310.9 kB / 0.6749 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 5.364e-05/0.5375, allocations: 3.938 kB / 0.6749 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.5375, allocations: 5.25 kB / 0.6749 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-06/0.5375, allocations: 0 / 0.6749 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003848/0.5379, allocations: 457.1 kB / 0.6753 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.5382, allocations: 166.7 kB / 0.6755 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.5385, allocations: 0.6716 MB / 0.6761 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.768e-06/0.5385, allocations: 0 / 0.6761 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.5385, allocations: 7.438 kB / 0.6761 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of SimCode: time 1.543e-06/0.5385, allocations: 0 / 0.6761 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.00329/0.5418, allocations: 1.002 MB / 0.6771 GB, free: 11.59 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetAltitudeTMY3.pipe 2>&1)