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.001262/0.001269, allocations: 109.4 kB / 15.69 MB, free: 128 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.001742/0.001742, allocations: 187.9 kB / 16.62 MB, free: 6.613 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.606/1.606, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.774/1.774, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001449/0.00145, allocations: 77.08 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2409, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003215/0.2442, allocations: 2.136 MB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004138/0.2484, allocations: 3.787 MB / 0.7899 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.2485, allocations: 3.938 kB / 0.7899 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.2488, allocations: 63.56 kB / 0.79 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.2492, allocations: 119.1 kB / 0.7901 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.2495, allocations: 155.6 kB / 0.7902 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.2499, allocations: 306.9 kB / 0.7905 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.25, allocations: 64.67 kB / 0.7906 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.2503, allocations: 139.5 kB / 0.7907 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.2505, allocations: 139.4 kB / 0.7909 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.934e-05/0.2505, allocations: 24 kB / 0.7909 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.2508, allocations: 127.8 kB / 0.791 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.2508, allocations: 55.75 kB / 0.7911 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001134/0.2509, allocations: 127.2 kB / 0.7912 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003923/0.2513, allocations: 338.9 kB / 0.7915 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.2514, allocations: 8 kB / 0.7915 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2514, allocations: 0 / 0.7915 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.2514, allocations: 0 / 0.7915 GB, free: 5.141 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.0012/0.2526, allocations: 0.6269 MB / 0.7921 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2526, allocations: 8.031 kB / 0.7921 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009048/0.2535, allocations: 180.3 kB / 0.7923 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.2542, allocations: 328.2 kB / 0.7926 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.2542, allocations: 8.562 kB / 0.7926 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.2543, allocations: 11.94 kB / 0.7926 GB, free: 3.898 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006304/0.2549, allocations: 227.9 kB / 0.7928 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.2549, allocations: 0 / 0.7928 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.998e-05/0.2549, allocations: 0 / 0.7928 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.255, allocations: 4 kB / 0.7928 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/0.2559, allocations: 283.6 kB / 0.7931 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.2572, allocations: 0.5823 MB / 0.7937 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.2577, allocations: 166.4 kB / 0.7938 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004796/0.2582, allocations: 152.7 kB / 0.794 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007852/0.259, allocations: 0.5532 MB / 0.7945 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.259, allocations: 34.56 kB / 0.7946 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.259, allocations: 0 / 0.7946 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001628/0.2607, allocations: 496.1 kB / 0.795 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.453e-05/0.2607, allocations: 51.41 kB / 0.7951 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.261, allocations: 264.6 kB / 0.7953 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.261, allocations: 25.7 kB / 0.7954 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.539e-05/0.2611, allocations: 155.9 kB / 0.7955 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.393e-05/0.2612, allocations: 55.23 kB / 0.7956 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.898e-05/0.2613, allocations: 41.69 kB / 0.7956 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2614, allocations: 342.8 kB / 0.7959 GB, free: 284 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004869/0.2619, allocations: 139.9 kB / 0.7961 GB, free: 144 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.2624, allocations: 151.9 kB / 0.7962 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009511/0.2634, allocations: 287.7 kB / 0.7965 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2634, allocations: 0 / 0.7965 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001113/0.2645, allocations: 373 kB / 0.7968 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2645, allocations: 8 kB / 0.7968 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2645, allocations: 0 / 0.7968 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2645, allocations: 0 / 0.7968 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.265, allocations: 67.92 kB / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.265, allocations: 0 / 0.7969 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.2653, allocations: 51.72 kB / 0.797 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.2653, allocations: 4 kB / 0.797 GB, free: 15.21 MB / 0.6231 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.000131/0.2655, allocations: 138.4 kB / 0.7971 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.351e-05/0.2655, allocations: 23.62 kB / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.2667, allocations: 387.3 kB / 0.7975 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2667, allocations: 0 / 0.7975 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2667, allocations: 0 / 0.7975 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2667, allocations: 3.938 kB / 0.7975 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.2671, allocations: 301.5 kB / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2671, allocations: 4 kB / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.2675, allocations: 63.86 kB / 0.7978 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.2675, allocations: 0 / 0.7978 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.2675, allocations: 7.984 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2675, allocations: 4 kB / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2675, allocations: 0 / 0.7979 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.2686, allocations: 446.8 kB / 0.7983 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.2687, allocations: 124.7 kB / 0.7984 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.2688, allocations: 0 / 0.7984 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000336/0.2691, allocations: 31.95 kB / 0.7984 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.2692, allocations: 27.91 kB / 0.7985 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.2692, allocations: 11.94 kB / 0.7985 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001478/0.2694, allocations: 191.1 kB / 0.7987 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.2694, allocations: 3.938 kB / 0.7987 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003419/0.2697, allocations: 67.98 kB / 0.7987 GB, free: 13.31 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.0001968/0.2699, allocations: 131.2 kB / 0.7988 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0011/0.271, allocations: 315.7 kB / 0.7991 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2711, allocations: 0 / 0.7991 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000514/0.2716, allocations: 171.8 kB / 0.7993 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.272, allocations: 35.17 kB / 0.7993 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000975/0.273, allocations: 0.4928 MB / 0.7998 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.2733, allocations: 0.7474 MB / 0.8006 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002052/0.2735, allocations: 45.39 kB / 0.8006 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.642e-05/0.2736, allocations: 27.41 kB / 0.8006 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of SimCode: time 1.643e-06/0.2736, allocations: 0 / 0.8006 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.006378/0.28, allocations: 3.289 MB / 0.8038 GB, free: 8.043 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)