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.001653/0.001653, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001794/0.001794, allocations: 193.3 kB / 16.91 MB, free: 6.195 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.633/1.633, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.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.743/1.743, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001457/0.001457, allocations: 72.19 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3129, allocations: 114.6 MB / 0.7835 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003774/0.3167, allocations: 1.955 MB / 0.7854 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004543/0.3213, allocations: 3.418 MB / 0.7888 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.3214, allocations: 0 / 0.7888 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.3218, allocations: 43.75 kB / 0.7888 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005107/0.3223, allocations: 115.4 kB / 0.7889 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 9.62e-05/0.3224, allocations: 27.91 kB / 0.7889 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.3227, allocations: 159.3 kB / 0.7891 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.3229, allocations: 33.67 kB / 0.7891 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.3231, allocations: 79.64 kB / 0.7892 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.3232, allocations: 87.61 kB / 0.7893 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.3233, allocations: 8 kB / 0.7893 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3234, allocations: 27.97 kB / 0.7893 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.979e-05/0.3235, allocations: 39.78 kB / 0.7894 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.139e-05/0.3236, allocations: 75.53 kB / 0.7894 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.3237, allocations: 115.7 kB / 0.7895 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3238, allocations: 3.938 kB / 0.7895 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.3238, allocations: 0 / 0.7895 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3238, allocations: 0 / 0.7895 GB, free: 7.652 MB / 0.6075 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.0008943/0.3247, allocations: 0.4984 MB / 0.79 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.3247, allocations: 8.031 kB / 0.79 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.3248, allocations: 20.66 kB / 0.7901 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.3251, allocations: 246.8 kB / 0.7903 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3252, allocations: 8.297 kB / 0.7903 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3252, allocations: 4.375 kB / 0.7903 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003631/0.3256, allocations: 141.7 kB / 0.7904 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3256, allocations: 0 / 0.7904 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3256, allocations: 0 / 0.7904 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.3256, allocations: 11.98 kB / 0.7905 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.3261, allocations: 135.9 kB / 0.7906 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007822/0.3269, allocations: 440.5 kB / 0.791 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004029/0.3273, allocations: 166.5 kB / 0.7912 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.3276, allocations: 100.8 kB / 0.7913 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.3276, allocations: 3.984 kB / 0.7913 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.3277, allocations: 30.56 kB / 0.7913 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.3277, allocations: 4 kB / 0.7913 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.0008024/0.3285, allocations: 289.6 kB / 0.7916 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3285, allocations: 51.41 kB / 0.7916 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3287, allocations: 217 kB / 0.7918 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.3288, allocations: 25.7 kB / 0.7919 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.156e-05/0.3289, allocations: 120.1 kB / 0.792 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.989e-05/0.3289, allocations: 43.36 kB / 0.792 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.256e-05/0.329, allocations: 33.7 kB / 0.792 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3292, allocations: 334.8 kB / 0.7924 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/0.3294, allocations: 75.94 kB / 0.7924 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.3296, allocations: 67.94 kB / 0.7925 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.3301, allocations: 155.6 kB / 0.7926 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3301, allocations: 4 kB / 0.7927 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005958/0.3307, allocations: 209.3 kB / 0.7929 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.3307, allocations: 4 kB / 0.7929 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3307, allocations: 0 / 0.7929 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3308, allocations: 4 kB / 0.7929 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/0.331, allocations: 39.95 kB / 0.7929 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.331, allocations: 0 / 0.7929 GB, free: 4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.3312, allocations: 15.89 kB / 0.7929 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3312, allocations: 8 kB / 0.7929 GB, free: 3.977 MB / 0.6075 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 0.0001283/0.3313, allocations: 134.4 kB / 0.793 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.3314, allocations: 19.81 kB / 0.7931 GB, free: 3.816 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.3315, allocations: 29.77 kB / 0.7931 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.3315, allocations: 4 kB / 0.7931 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3315, allocations: 4 kB / 0.7931 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3315, allocations: 0 / 0.7931 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.3318, allocations: 265.3 kB / 0.7934 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3318, allocations: 0 / 0.7934 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.332, allocations: 31.97 kB / 0.7934 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.332, allocations: 4 kB / 0.7934 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.332, allocations: 4 kB / 0.7934 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.332, allocations: 0 / 0.7934 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.332, allocations: 3.984 kB / 0.7934 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.3326, allocations: 311.1 kB / 0.7937 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.3327, allocations: 112.8 kB / 0.7938 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.3328, allocations: 0 / 0.7938 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.333, allocations: 19.97 kB / 0.7938 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.333, allocations: 11.98 kB / 0.7938 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.333, allocations: 7.938 kB / 0.7938 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001815/0.3332, allocations: 152.5 kB / 0.794 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3332, allocations: 0 / 0.794 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002795/0.3335, allocations: 39.88 kB / 0.794 GB, free: 2.75 MB / 0.6075 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.0002032/0.3337, allocations: 107.2 kB / 0.7941 GB, free: 2.637 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00059/0.3343, allocations: 187 kB / 0.7943 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.3343, allocations: 4 kB / 0.7943 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.3346, allocations: 83.88 kB / 0.7944 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005034/0.3351, allocations: 37.42 kB / 0.7944 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.3361, allocations: 487.8 kB / 0.7949 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.3365, allocations: 0.7314 MB / 0.7956 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/0.3366, allocations: 19.42 kB / 0.7956 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.3366, allocations: 0 / 0.7956 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of Templates: time 0.004912/0.3415, allocations: 2.228 MB / 0.7978 GB, free: 14.83 MB / 0.6231 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1)