Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.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.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001536/0.001536, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.664/1.664, allocations: 205.1 MB / 222 MB, free: 4.77 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.761/1.761, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001276/0.001277, allocations: 67.8 kB / 0.6708 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2532, allocations: 114.5 MB / 0.7827 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003306/0.2565, allocations: 2.193 MB / 0.7848 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004197/0.2607, allocations: 3.78 MB / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.541e-05/0.2609, allocations: 0 / 0.7885 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2612, allocations: 39.75 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.2615, allocations: 127.2 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.2618, allocations: 127.7 kB / 0.7888 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.2622, allocations: 290.9 kB / 0.7891 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.2623, allocations: 56.7 kB / 0.7891 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.2625, allocations: 115.5 kB / 0.7892 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.2627, allocations: 143.4 kB / 0.7894 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.2627, allocations: 15.94 kB / 0.7894 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.263, allocations: 119.8 kB / 0.7895 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.263, allocations: 55.75 kB / 0.7895 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.2632, allocations: 119.2 kB / 0.7897 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.2635, allocations: 322.9 kB / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2636, allocations: 0 / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2636, allocations: 0 / 0.79 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.2636, allocations: 0 / 0.79 GB, free: 6.469 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001245/0.2648, allocations: 0.623 MB / 0.7906 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.2649, allocations: 12.03 kB / 0.7906 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009223/0.2658, allocations: 168.4 kB / 0.7907 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007503/0.2666, allocations: 340.1 kB / 0.7911 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/0.2666, allocations: 8.562 kB / 0.7911 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.333e-05/0.2666, allocations: 11.94 kB / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006949/0.2673, allocations: 223.1 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2674, allocations: 4 kB / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.2674, allocations: 0 / 0.7913 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.675e-06/0.2674, allocations: 4 kB / 0.7913 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009543/0.2684, allocations: 279.7 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.2697, allocations: 0.5862 MB / 0.7922 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005454/0.2702, allocations: 166.4 kB / 0.7923 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004933/0.2707, allocations: 157 kB / 0.7925 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008676/0.2716, allocations: 0.5532 MB / 0.793 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.2716, allocations: 30.56 kB / 0.793 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.2716, allocations: 0 / 0.793 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001661/0.2733, allocations: 488.9 kB / 0.7935 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.2734, allocations: 51.41 kB / 0.7935 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.2736, allocations: 264.6 kB / 0.7938 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.597e-05/0.2737, allocations: 33.64 kB / 0.7938 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.988e-05/0.2738, allocations: 148 kB / 0.794 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.2738, allocations: 55.28 kB / 0.794 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2739, allocations: 41.69 kB / 0.7941 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2741, allocations: 338.8 kB / 0.7944 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004963/0.2746, allocations: 139.9 kB / 0.7945 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004703/0.2751, allocations: 151.9 kB / 0.7947 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009466/0.276, allocations: 292.2 kB / 0.7949 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.276, allocations: 0 / 0.7949 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001061/0.2771, allocations: 365 kB / 0.7953 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2771, allocations: 4 kB / 0.7953 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2771, allocations: 4 kB / 0.7953 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2772, allocations: 3.938 kB / 0.7953 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.2776, allocations: 71.84 kB / 0.7954 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.2777, allocations: 4 kB / 0.7954 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/0.278, allocations: 47.73 kB / 0.7954 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.278, allocations: 7.984 kB / 0.7954 GB, free: 0.543 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 (17): * Single equations (assignments): 17 * 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.0001297/0.2781, allocations: 125.8 kB / 0.7955 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.2782, allocations: 27.62 kB / 0.7956 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.2794, allocations: 390.4 kB / 0.7959 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.2794, allocations: 0 / 0.7959 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2794, allocations: 0 / 0.7959 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2795, allocations: 3.938 kB / 0.796 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.2798, allocations: 293.4 kB / 0.7962 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2798, allocations: 0 / 0.7962 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003922/0.2802, allocations: 63.92 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.2802, allocations: 3.984 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.2803, allocations: 8 kB / 0.7963 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.2803, allocations: 7.938 kB / 0.7963 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2803, allocations: 0 / 0.7963 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.2813, allocations: 454.8 kB / 0.7967 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.2815, allocations: 124.7 kB / 0.7969 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.2815, allocations: 0 / 0.7969 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/0.2819, allocations: 39.94 kB / 0.7969 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/0.2819, allocations: 11.98 kB / 0.7969 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.282, allocations: 15.92 kB / 0.7969 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001843/0.2822, allocations: 187.1 kB / 0.7971 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2822, allocations: 4 kB / 0.7971 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003434/0.2825, allocations: 63.98 kB / 0.7972 GB, free: 14.66 MB / 0.6231 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.0002316/0.2827, allocations: 131.1 kB / 0.7973 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.2838, allocations: 323.7 kB / 0.7976 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2838, allocations: 0 / 0.7976 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005078/0.2844, allocations: 171.7 kB / 0.7978 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.2848, allocations: 28.64 kB / 0.7978 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2859, allocations: 0.5697 MB / 0.7984 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.2862, allocations: 0.7438 MB / 0.7991 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002486/0.2865, allocations: 49.38 kB / 0.7991 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.2866, allocations: 23.41 kB / 0.7991 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.2866, allocations: 0 / 0.7991 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of Templates: time 0.005928/0.2925, allocations: 2.943 MB / 0.802 GB, free: 9.66 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)