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.001164/0.001164, allocations: 107 kB / 16.36 MB, free: 5.996 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.001143/0.001143, allocations: 194 kB / 17.3 MB, free: 5.605 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.726/1.726, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001488/0.001488, allocations: 63.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.214, allocations: 114.6 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003287/0.2173, allocations: 2.143 MB / 0.7869 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.328/0.5453, allocations: 3.779 MB / 0.7906 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.5454, allocations: 2.562 kB / 0.7906 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002437/0.5457, allocations: 60.7 kB / 0.7906 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003105/0.5461, allocations: 122.1 kB / 0.7907 GB, free: 47.08 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003032/0.5464, allocations: 148 kB / 0.7909 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.5467, allocations: 322.1 kB / 0.7912 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.5468, allocations: 56.75 kB / 0.7912 GB, free: 47.05 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001868/0.547, allocations: 136.7 kB / 0.7914 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001502/0.5471, allocations: 146.6 kB / 0.7915 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.906e-05/0.5472, allocations: 21.72 kB / 0.7915 GB, free: 47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002277/0.5474, allocations: 130.5 kB / 0.7917 GB, free: 46.99 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.5475, allocations: 60.41 kB / 0.7917 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.757e-05/0.5476, allocations: 124.4 kB / 0.7918 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.5479, allocations: 337.8 kB / 0.7922 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5479, allocations: 0.5 kB / 0.7922 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5479, allocations: 0.625 kB / 0.7922 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5479, allocations: 2.531 kB / 0.7922 GB, free: 46.86 MB / 0.6544 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.001076/0.549, allocations: 0.6312 MB / 0.7928 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.549, allocations: 10.5 kB / 0.7928 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008767/0.5499, allocations: 172.4 kB / 0.793 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006482/0.5506, allocations: 321.5 kB / 0.7933 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.5506, allocations: 7.062 kB / 0.7933 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.301e-05/0.5506, allocations: 16.25 kB / 0.7933 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005913/0.5512, allocations: 221.5 kB / 0.7935 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.5513, allocations: 0.6875 kB / 0.7935 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.5513, allocations: 7.188 kB / 0.7935 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.5513, allocations: 2.625 kB / 0.7935 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000898/0.5522, allocations: 276.5 kB / 0.7938 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.5533, allocations: 0.5896 MB / 0.7943 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.5538, allocations: 169.1 kB / 0.7945 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004617/0.5543, allocations: 160.2 kB / 0.7947 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007066/0.555, allocations: 0.5506 MB / 0.7952 GB, free: 45.19 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.555, allocations: 34.44 kB / 0.7952 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.5551, allocations: 0 / 0.7952 GB, free: 45.15 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.001491/0.5565, allocations: 487.6 kB / 0.7957 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.208e-05/0.5566, allocations: 54.84 kB / 0.7957 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.5568, allocations: 270 kB / 0.796 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.5568, allocations: 25.7 kB / 0.796 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.245e-05/0.5569, allocations: 154.8 kB / 0.7962 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.49e-05/0.5569, allocations: 37.73 kB / 0.7962 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.557, allocations: 45.11 kB / 0.7963 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.5571, allocations: 336.2 kB / 0.7966 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.5575, allocations: 145.4 kB / 0.7967 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.558, allocations: 152.5 kB / 0.7969 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008833/0.5588, allocations: 282.6 kB / 0.7971 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5589, allocations: 3.125 kB / 0.7971 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001006/0.5599, allocations: 377.8 kB / 0.7975 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5599, allocations: 6.938 kB / 0.7975 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5599, allocations: 0 / 0.7975 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.5599, allocations: 0 / 0.7975 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.5604, allocations: 66.33 kB / 0.7976 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.5604, allocations: 3.5 kB / 0.7976 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.5607, allocations: 49.98 kB / 0.7976 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.5607, allocations: 5.656 kB / 0.7976 GB, free: 44.31 MB / 0.6544 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 9.97e-05/0.5609, allocations: 128.9 kB / 0.7977 GB, free: 44.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.5609, allocations: 31.69 kB / 0.7978 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.562, allocations: 375.5 kB / 0.7981 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/0.562, allocations: 6.031 kB / 0.7981 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.562, allocations: 0 / 0.7981 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.562, allocations: 4.969 kB / 0.7981 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.5623, allocations: 305 kB / 0.7984 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.5624, allocations: 3.938 kB / 0.7984 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003854/0.5627, allocations: 55.28 kB / 0.7985 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.5628, allocations: 5.156 kB / 0.7985 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.5628, allocations: 6.781 kB / 0.7985 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5628, allocations: 4 kB / 0.7985 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5628, allocations: 2.594 kB / 0.7985 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.5638, allocations: 453.9 kB / 0.7989 GB, free: 43.56 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.5639, allocations: 121.1 kB / 0.7991 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.371e-05/0.564, allocations: 2.75 kB / 0.7991 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000337/0.5643, allocations: 38.31 kB / 0.7991 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/0.5644, allocations: 16.91 kB / 0.7991 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.5644, allocations: 11.88 kB / 0.7991 GB, free: 43.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001559/0.5646, allocations: 188.2 kB / 0.7993 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5646, allocations: 0 / 0.7993 GB, free: 43.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003741/0.565, allocations: 65.47 kB / 0.7994 GB, free: 43.31 MB / 0.6544 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.0002207/0.5652, allocations: 134.5 kB / 0.7995 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.5663, allocations: 324.2 kB / 0.7998 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5663, allocations: 0 / 0.7998 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004798/0.5668, allocations: 167.8 kB / 0.8 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.5673, allocations: 43.47 kB / 0.8 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009677/0.5682, allocations: 497.7 kB / 0.8005 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.5684, allocations: 0.7422 MB / 0.8012 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002078/0.5686, allocations: 47.83 kB / 0.8012 GB, free: 42.09 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.892e-05/0.5687, allocations: 25.14 kB / 0.8013 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/0.5688, allocations: 1.469 kB / 0.8013 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of Templates: time 0.007854/0.5766, allocations: 3.292 MB / 0.8045 GB, free: 41.9 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)