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.0008492/0.0008491, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001009/0.001009, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.4 MB / 222.1 MB, free: 5.375 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.576/1.576, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005075/0.0005077, allocations: 15.06 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2079, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002285/0.2102, allocations: 1.781 MB / 0.789 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004096/0.2144, allocations: 3.541 MB / 0.7925 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.2145, allocations: 0 / 0.7925 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.2147, allocations: 47.73 kB / 0.7925 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003207/0.2151, allocations: 115.3 kB / 0.7926 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.2154, allocations: 111.7 kB / 0.7927 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.2158, allocations: 274.9 kB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2159, allocations: 44.86 kB / 0.7931 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.2161, allocations: 111.6 kB / 0.7932 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.2163, allocations: 131.4 kB / 0.7933 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.784e-05/0.2163, allocations: 12 kB / 0.7933 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.2165, allocations: 119.8 kB / 0.7934 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.191e-05/0.2166, allocations: 43.77 kB / 0.7934 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.976e-05/0.2167, allocations: 61.58 kB / 0.7935 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.2169, allocations: 223.5 kB / 0.7937 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2169, allocations: 0 / 0.7937 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2169, allocations: 0 / 0.7937 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2169, allocations: 0 / 0.7937 GB, free: 5.301 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.001113/0.218, allocations: 0.6309 MB / 0.7943 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2181, allocations: 8.031 kB / 0.7943 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007657/0.2189, allocations: 159.4 kB / 0.7945 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.2195, allocations: 323.2 kB / 0.7948 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.2195, allocations: 12.17 kB / 0.7948 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.2195, allocations: 12 kB / 0.7948 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006634/0.2202, allocations: 257.4 kB / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.2202, allocations: 0 / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.2203, allocations: 0 / 0.7951 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2203, allocations: 4 kB / 0.7951 GB, free: 3.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.2212, allocations: 340.2 kB / 0.7954 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.2224, allocations: 0.6021 MB / 0.796 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.223, allocations: 206.4 kB / 0.7962 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/0.2234, allocations: 180.7 kB / 0.7964 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007891/0.2242, allocations: 0.5806 MB / 0.7969 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.2243, allocations: 30.81 kB / 0.797 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.2243, allocations: 0 / 0.797 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.00152/0.2258, allocations: 0.5596 MB / 0.7975 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.2258, allocations: 63.34 kB / 0.7976 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.2261, allocations: 260.6 kB / 0.7978 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.2261, allocations: 29.7 kB / 0.7978 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.2262, allocations: 151.9 kB / 0.798 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.2262, allocations: 39.45 kB / 0.798 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.2263, allocations: 0 / 0.798 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2264, allocations: 342.8 kB / 0.7983 GB, free: 248 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004888/0.2269, allocations: 175.9 kB / 0.7985 GB, free: 72 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004597/0.2273, allocations: 179.8 kB / 0.7987 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.2278, allocations: 179.9 kB / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2279, allocations: 0 / 0.7989 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001032/0.2289, allocations: 428 kB / 0.7993 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.2289, allocations: 4 kB / 0.7993 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2289, allocations: 3.938 kB / 0.7993 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2289, allocations: 0 / 0.7993 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.2294, allocations: 87.86 kB / 0.7994 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2294, allocations: 0 / 0.7994 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.2297, allocations: 63.78 kB / 0.7994 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.2297, allocations: 11.98 kB / 0.7994 GB, free: 15.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.2298, allocations: 130.5 kB / 0.7996 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.2299, allocations: 23.72 kB / 0.7996 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.231, allocations: 442.4 kB / 0.8 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.231, allocations: 7.984 kB / 0.8 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.231, allocations: 0 / 0.8 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.231, allocations: 0 / 0.8 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/0.2314, allocations: 313.2 kB / 0.8003 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2314, allocations: 0 / 0.8003 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003777/0.2318, allocations: 79.92 kB / 0.8004 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2318, allocations: 0 / 0.8004 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.2318, allocations: 7.984 kB / 0.8004 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/0.2318, allocations: 0 / 0.8004 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2318, allocations: 4 kB / 0.8004 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.2329, allocations: 0.4989 MB / 0.8009 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.233, allocations: 124.7 kB / 0.801 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.957e-05/0.233, allocations: 0 / 0.801 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.2333, allocations: 59.94 kB / 0.8011 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.2334, allocations: 11.97 kB / 0.8011 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.2334, allocations: 11.98 kB / 0.8011 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001546/0.2336, allocations: 183.1 kB / 0.8013 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2336, allocations: 0 / 0.8013 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003319/0.2339, allocations: 64 kB / 0.8013 GB, free: 13.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001883/0.2341, allocations: 139.1 kB / 0.8014 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009855/0.2351, allocations: 383.7 kB / 0.8018 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2351, allocations: 0 / 0.8018 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004857/0.2356, allocations: 191.8 kB / 0.802 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.236, allocations: 40.56 kB / 0.802 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009739/0.237, allocations: 0.5842 MB / 0.8026 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.2374, allocations: 0.7477 MB / 0.8033 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002443/0.2376, allocations: 45.33 kB / 0.8034 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.992e-05/0.2377, allocations: 27.41 kB / 0.8034 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of SimCode: time 2e-07/0.2377, allocations: 0 / 0.8034 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of Templates: time 0.005558/0.2433, allocations: 2.839 MB / 0.8062 GB, free: 8.086 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: