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.0009185/0.0009186, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009278/0.0009278, allocations: 177.3 kB / 15.95 MB, free: 216 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.304/1.304, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.585/1.585, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005196/0.0005197, allocations: 20.03 kB / 0.6735 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002117/0.2246, allocations: 1.742 MB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003703/0.2284, allocations: 3.331 MB / 0.7921 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.2285, allocations: 0 / 0.7921 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.2287, allocations: 47.73 kB / 0.7921 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000317/0.229, allocations: 127.5 kB / 0.7922 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002931/0.2293, allocations: 119.7 kB / 0.7923 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000297/0.2296, allocations: 195.6 kB / 0.7925 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.2298, allocations: 48.83 kB / 0.7926 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.23, allocations: 119.6 kB / 0.7927 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.2301, allocations: 123.5 kB / 0.7928 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.2302, allocations: 12 kB / 0.7928 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.2304, allocations: 107.8 kB / 0.7929 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.2305, allocations: 47.75 kB / 0.793 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.939e-05/0.2305, allocations: 61.58 kB / 0.793 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.2308, allocations: 223.5 kB / 0.7932 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.2308, allocations: 0 / 0.7932 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2308, allocations: 4 kB / 0.7933 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.2308, allocations: 4 kB / 0.7933 GB, free: 5.641 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.001204/0.232, allocations: 0.6231 MB / 0.7939 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2321, allocations: 12.03 kB / 0.7939 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008887/0.233, allocations: 155.4 kB / 0.794 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007509/0.2337, allocations: 323.1 kB / 0.7943 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.2338, allocations: 8.188 kB / 0.7943 GB, free: 4.441 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.2338, allocations: 12 kB / 0.7943 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.2345, allocations: 257.4 kB / 0.7946 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.2345, allocations: 0 / 0.7946 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.2345, allocations: 4 kB / 0.7946 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2345, allocations: 4 kB / 0.7946 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.2355, allocations: 336.3 kB / 0.7949 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.2369, allocations: 0.6099 MB / 0.7955 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.2375, allocations: 210.4 kB / 0.7957 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009004/0.2384, allocations: 0.565 MB / 0.7963 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/0.2385, allocations: 38.56 kB / 0.7963 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.343e-06/0.2385, allocations: 4 kB / 0.7963 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001792/0.2403, allocations: 0.5669 MB / 0.7969 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.2403, allocations: 51.41 kB / 0.7969 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002642/0.2406, allocations: 256.6 kB / 0.7972 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.2406, allocations: 33.64 kB / 0.7972 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.2408, allocations: 163.8 kB / 0.7973 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.2408, allocations: 39.44 kB / 0.7974 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.631e-05/0.2409, allocations: 3.938 kB / 0.7974 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.241, allocations: 342.8 kB / 0.7977 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/0.2416, allocations: 167.9 kB / 0.7979 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005102/0.2421, allocations: 183.8 kB / 0.7981 GB, free: 424 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.2426, allocations: 178.5 kB / 0.7982 GB, free: 248 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2426, allocations: 4 kB / 0.7982 GB, free: 244 kB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001157/0.2438, allocations: 425.1 kB / 0.7986 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/0.2438, allocations: 8 kB / 0.7986 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.2438, allocations: 0 / 0.7986 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.2439, allocations: 0 / 0.7986 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.2443, allocations: 87.84 kB / 0.7987 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2444, allocations: 0 / 0.7987 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.2447, allocations: 59.8 kB / 0.7988 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.2447, allocations: 11.98 kB / 0.7988 GB, free: 15.65 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.0001535/0.2449, allocations: 125.8 kB / 0.7989 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.245, allocations: 23.72 kB / 0.7989 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/0.2462, allocations: 447.5 kB / 0.7994 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2462, allocations: 0 / 0.7994 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.2462, allocations: 0 / 0.7994 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2463, allocations: 4 kB / 0.7994 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.2466, allocations: 305.2 kB / 0.7997 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2466, allocations: 3.938 kB / 0.7997 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.247, allocations: 79.91 kB / 0.7997 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.247, allocations: 4 kB / 0.7997 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.247, allocations: 0 / 0.7997 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.247, allocations: 0 / 0.7997 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.247, allocations: 0 / 0.7997 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.2482, allocations: 0.5028 MB / 0.8002 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.2484, allocations: 120.7 kB / 0.8003 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.044e-05/0.2484, allocations: 4 kB / 0.8003 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.2487, allocations: 55.94 kB / 0.8004 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.2488, allocations: 19.97 kB / 0.8004 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.2488, allocations: 4 kB / 0.8004 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001547/0.249, allocations: 183.1 kB / 0.8006 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.249, allocations: 0 / 0.8006 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003295/0.2493, allocations: 71.89 kB / 0.8007 GB, free: 13.62 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.0002116/0.2496, allocations: 127.2 kB / 0.8008 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.2507, allocations: 383.7 kB / 0.8012 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2507, allocations: 0 / 0.8012 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005999/0.2513, allocations: 203.7 kB / 0.8013 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.2516, allocations: 35.66 kB / 0.8014 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2527, allocations: 0.5842 MB / 0.802 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.253, allocations: 0.7516 MB / 0.8027 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002285/0.2532, allocations: 53.38 kB / 0.8027 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.469e-05/0.2533, allocations: 19.42 kB / 0.8028 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2533, allocations: 0 / 0.8028 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of Templates: time 0.005338/0.2587, allocations: 2.841 MB / 0.8055 GB, free: 8.613 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: