Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 93.34 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 183.4 kB / 16.92 MB, free: 6.914 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.534/1.534, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.818/0.818, allocations: 126.9 MB / 418.9 MB, free: 7.289 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 8 kB / 0.498 GB, free: 9.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5813/0.5816, allocations: 80.23 MB / 0.5763 GB, free: 7.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002038/0.5837, allocations: 1.553 MB / 0.5778 GB, free: 6.781 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003826/0.5876, allocations: 3.464 MB / 0.5812 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.5876, allocations: 5.812 kB / 0.5812 GB, free: 4.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006777/0.5883, allocations: 163 kB / 0.5814 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.5885, allocations: 61.77 kB / 0.5815 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.061e-05/0.5886, allocations: 30.69 kB / 0.5815 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004856/0.5891, allocations: 277.9 kB / 0.5817 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.5892, allocations: 33.58 kB / 0.5818 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.5893, allocations: 63.61 kB / 0.5818 GB, free: 4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.5895, allocations: 76.69 kB / 0.5819 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.5895, allocations: 4.406 kB / 0.5819 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.772e-05/0.5896, allocations: 19.5 kB / 0.5819 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.5897, allocations: 54.59 kB / 0.582 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.5898, allocations: 110.6 kB / 0.5821 GB, free: 3.863 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.59, allocations: 169.3 kB / 0.5823 GB, free: 3.801 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5901, allocations: 4 kB / 0.5823 GB, free: 3.797 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5901, allocations: 0 / 0.5823 GB, free: 3.797 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.5901, allocations: 0.9375 kB / 0.5823 GB, free: 3.797 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007625/0.5908, allocations: 0.5106 MB / 0.5828 GB, free: 3.348 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.5909, allocations: 9.188 kB / 0.5828 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.591, allocations: 26.05 kB / 0.5828 GB, free: 3.332 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.5913, allocations: 236.1 kB / 0.583 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.5913, allocations: 2.844 kB / 0.583 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.5913, allocations: 15.38 kB / 0.583 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.5917, allocations: 146.4 kB / 0.5832 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.5917, allocations: 0.7188 kB / 0.5832 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.5918, allocations: 4 kB / 0.5832 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.5918, allocations: 10.09 kB / 0.5832 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.5923, allocations: 156.1 kB / 0.5833 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006795/0.593, allocations: 451.2 kB / 0.5838 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.5934, allocations: 175.3 kB / 0.5839 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002804/0.5937, allocations: 114.6 kB / 0.584 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.5937, allocations: 2.078 kB / 0.584 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.5937, allocations: 31.94 kB / 0.5841 GB, free: 2.508 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.5938, allocations: 0 / 0.5841 GB, free: 2.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008768/0.5946, allocations: 314 kB / 0.5844 GB, free: 2.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.5947, allocations: 56.7 kB / 0.5844 GB, free: 2.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.5949, allocations: 242.2 kB / 0.5847 GB, free: 2.199 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.5949, allocations: 25.7 kB / 0.5847 GB, free: 2.168 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.233e-05/0.595, allocations: 135.6 kB / 0.5848 GB, free: 2.047 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.641e-05/0.5951, allocations: 45.78 kB / 0.5849 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.5951, allocations: 17.83 kB / 0.5849 GB, free: 1.992 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.5952, allocations: 335.4 kB / 0.5852 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002514/0.5954, allocations: 81.75 kB / 0.5853 GB, free: 1.648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.5957, allocations: 84.36 kB / 0.5854 GB, free: 1.629 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/0.5962, allocations: 174 kB / 0.5855 GB, free: 1.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5962, allocations: 0 / 0.5855 GB, free: 1.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000554/0.5967, allocations: 228 kB / 0.5857 GB, free: 1.496 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.5968, allocations: 6.188 kB / 0.5857 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.5968, allocations: 0 / 0.5857 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.5968, allocations: 1.188 kB / 0.5857 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.597, allocations: 36.72 kB / 0.5858 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.5971, allocations: 5.453 kB / 0.5858 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.5972, allocations: 25.14 kB / 0.5858 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.5973, allocations: 8.203 kB / 0.5858 GB, free: 1.48 MB / 430.1 MB 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 (13): * Single equations (assignments): 13 * 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.0001075/0.5974, allocations: 136.8 kB / 0.5859 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.5974, allocations: 25 kB / 0.586 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.5975, allocations: 28.67 kB / 0.586 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5975, allocations: 9.375 kB / 0.586 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5975, allocations: 0.7812 kB / 0.586 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5975, allocations: 4.594 kB / 0.586 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.5978, allocations: 267.1 kB / 0.5863 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5978, allocations: 0 / 0.5863 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002187/0.598, allocations: 36.98 kB / 0.5863 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5981, allocations: 1.406 kB / 0.5863 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.5981, allocations: 2.781 kB / 0.5863 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5981, allocations: 4.969 kB / 0.5863 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.5981, allocations: 0.75 kB / 0.5863 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006014/0.5987, allocations: 336.1 kB / 0.5866 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.5988, allocations: 109.4 kB / 0.5867 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.5988, allocations: 4.703 kB / 0.5867 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.599, allocations: 16 kB / 0.5868 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.5991, allocations: 20.88 kB / 0.5868 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.5991, allocations: 8.984 kB / 0.5868 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.5993, allocations: 173.7 kB / 0.5869 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5993, allocations: 0 / 0.5869 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003065/0.5996, allocations: 38.03 kB / 0.587 GB, free: 0.6484 MB / 430.1 MB 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 (13): * Single equations (assignments): 13 * 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.0001517/0.5997, allocations: 99.66 kB / 0.5871 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005978/0.6003, allocations: 198.6 kB / 0.5873 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6004, allocations: 0 / 0.5873 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002774/0.6006, allocations: 104.7 kB / 0.5874 GB, free: 496 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004643/0.6011, allocations: 41.34 kB / 0.5874 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.602, allocations: 0.5158 MB / 0.5879 GB, free: 180 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004119/0.6024, allocations: 0.7437 MB / 0.5886 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.6026, allocations: 45.52 kB / 0.5887 GB, free: 15.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.6027, allocations: 17.33 kB / 0.5887 GB, free: 15.46 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.6027, allocations: 0 / 0.5887 GB, free: 15.46 MB / 446.1 MB Notification: Performance of Templates: time 0.006621/0.6093, allocations: 2.061 MB / 0.5907 GB, free: 15.3 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)