Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001119/0.001119, allocations: 107.3 kB / 16.29 MB, free: 6.43 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.001086/0.001086, allocations: 187.9 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.3 MB / 0.5495 GB, free: 17.38 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 68.27 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2451, allocations: 114.6 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.004287/0.2494, allocations: 1.89 MB / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4219/0.6714, allocations: 3.444 MB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001763/0.6716, allocations: 2.844 kB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.672, allocations: 52.41 kB / 0.7893 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004436/0.6724, allocations: 121.3 kB / 0.7895 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 8.562e-05/0.6725, allocations: 31.2 kB / 0.7895 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.6727, allocations: 163.3 kB / 0.7896 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.6728, allocations: 31.19 kB / 0.7897 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.673, allocations: 90.89 kB / 0.7898 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001327/0.6731, allocations: 78 kB / 0.7898 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.649e-05/0.6732, allocations: 8.312 kB / 0.7898 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.364e-05/0.6733, allocations: 29.41 kB / 0.7899 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.6733, allocations: 43.55 kB / 0.7899 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.972e-05/0.6734, allocations: 73.81 kB / 0.79 GB, free: 45.85 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.6736, allocations: 166.3 kB / 0.7901 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.6736, allocations: 0 / 0.7901 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.003e-06/0.6736, allocations: 0 / 0.7901 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.6736, allocations: 0 / 0.7901 GB, free: 45.82 MB / 0.6544 GB 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.0006817/0.6743, allocations: 0.5067 MB / 0.7906 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.6744, allocations: 9.719 kB / 0.7906 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.6744, allocations: 16.62 kB / 0.7907 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002575/0.6747, allocations: 243.8 kB / 0.7909 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.016e-05/0.6747, allocations: 384 / 0.7909 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.6747, allocations: 6.219 kB / 0.7909 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002911/0.675, allocations: 144.5 kB / 0.791 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.675, allocations: 1.172 kB / 0.791 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.6751, allocations: 0 / 0.791 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.6751, allocations: 10.72 kB / 0.791 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003635/0.6755, allocations: 144.8 kB / 0.7912 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005599/0.676, allocations: 441.2 kB / 0.7916 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.6764, allocations: 160.2 kB / 0.7918 GB, free: 44.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.6766, allocations: 107.7 kB / 0.7919 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.6766, allocations: 3.625 kB / 0.7919 GB, free: 44.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.6766, allocations: 34.47 kB / 0.7919 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.6767, allocations: 0 / 0.7919 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.0006939/0.6774, allocations: 280.2 kB / 0.7922 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.6774, allocations: 55.84 kB / 0.7922 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.6776, allocations: 208.7 kB / 0.7924 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.6776, allocations: 28.36 kB / 0.7924 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.6776, allocations: 119.9 kB / 0.7926 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.6777, allocations: 41.77 kB / 0.7926 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.6777, allocations: 38.08 kB / 0.7926 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.747e-05/0.6778, allocations: 335 kB / 0.793 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.678, allocations: 71.66 kB / 0.793 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.6783, allocations: 73.42 kB / 0.7931 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.6786, allocations: 160.2 kB / 0.7932 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.6786, allocations: 1.812 kB / 0.7932 GB, free: 44.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004561/0.6791, allocations: 208 kB / 0.7934 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.6791, allocations: 6.453 kB / 0.7935 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6791, allocations: 1.375 kB / 0.7935 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6791, allocations: 6.266 kB / 0.7935 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.6794, allocations: 36.17 kB / 0.7935 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.6794, allocations: 0 / 0.7935 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.6795, allocations: 17.47 kB / 0.7935 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.6795, allocations: 7.516 kB / 0.7935 GB, free: 44.04 MB / 0.6544 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 (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 8.178e-05/0.6796, allocations: 135.5 kB / 0.7936 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.6797, allocations: 16 kB / 0.7937 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.219e-05/0.6797, allocations: 27.81 kB / 0.7937 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.6797, allocations: 7.375 kB / 0.7937 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.6797, allocations: 0 / 0.7937 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.6797, allocations: 0 / 0.7937 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.68, allocations: 262.5 kB / 0.7939 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.68, allocations: 1.625 kB / 0.7939 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.6802, allocations: 32.09 kB / 0.794 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.6802, allocations: 7.406 kB / 0.794 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.6802, allocations: 3.469 kB / 0.794 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6802, allocations: 0 / 0.794 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.6802, allocations: 0 / 0.794 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004423/0.6807, allocations: 312 kB / 0.7943 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.6808, allocations: 114.2 kB / 0.7944 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.733e-05/0.6808, allocations: 3.562 kB / 0.7944 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.6809, allocations: 17.27 kB / 0.7944 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.681, allocations: 13.77 kB / 0.7944 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.681, allocations: 6.344 kB / 0.7944 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.369e-05/0.6811, allocations: 153.1 kB / 0.7946 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6811, allocations: 0 / 0.7946 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002614/0.6814, allocations: 40 kB / 0.7946 GB, free: 43.37 MB / 0.6544 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 (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.0001558/0.6816, allocations: 106.8 kB / 0.7947 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004415/0.682, allocations: 167.8 kB / 0.7949 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.682, allocations: 2.625 kB / 0.7949 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.6822, allocations: 90.14 kB / 0.795 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.6826, allocations: 29.42 kB / 0.795 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.6833, allocations: 406.8 kB / 0.7954 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001495/0.6835, allocations: 0.7318 MB / 0.7961 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001314/0.6836, allocations: 57.45 kB / 0.7962 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.6837, allocations: 17.44 kB / 0.7962 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.6837, allocations: 0 / 0.7962 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.004249/0.6879, allocations: 1.692 MB / 0.7978 GB, free: 42.29 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)