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.001172/0.001172, allocations: 100.4 kB / 16.29 MB, free: 5.926 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: 179.1 kB / 17.22 MB, free: 5.559 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.526/1.526, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.801/1.801, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001415/0.001415, allocations: 67.91 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.2493, allocations: 114.6 MB / 0.7841 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003499/0.2529, allocations: 2.143 MB / 0.7862 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4189/0.6718, allocations: 3.784 MB / 0.7899 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.6719, allocations: 2.375 kB / 0.7899 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.6723, allocations: 58.28 kB / 0.7899 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003463/0.6726, allocations: 120.7 kB / 0.79 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.673, allocations: 157.1 kB / 0.7902 GB, free: 45.87 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.6733, allocations: 309.4 kB / 0.7905 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.6734, allocations: 60.73 kB / 0.7905 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.6736, allocations: 134 kB / 0.7907 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.6738, allocations: 141.9 kB / 0.7908 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.6739, allocations: 21 kB / 0.7908 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.6741, allocations: 140.9 kB / 0.791 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.6742, allocations: 57.41 kB / 0.791 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.6743, allocations: 120.9 kB / 0.7911 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.6746, allocations: 340.7 kB / 0.7914 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6746, allocations: 0 / 0.7914 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6747, allocations: 2.688 kB / 0.7915 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.6747, allocations: 3 kB / 0.7915 GB, free: 45.7 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.00104/0.6757, allocations: 0.6283 MB / 0.7921 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.6758, allocations: 14.44 kB / 0.7921 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008357/0.6766, allocations: 167.1 kB / 0.7922 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.6772, allocations: 326.9 kB / 0.7926 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.6773, allocations: 9.5 kB / 0.7926 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.6773, allocations: 13.66 kB / 0.7926 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005858/0.6779, allocations: 224.7 kB / 0.7928 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.6779, allocations: 3.094 kB / 0.7928 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.6779, allocations: 1.875 kB / 0.7928 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.6779, allocations: 5.156 kB / 0.7928 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008412/0.6788, allocations: 280.7 kB / 0.7931 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001144/0.6799, allocations: 0.582 MB / 0.7936 GB, free: 44.65 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004856/0.6804, allocations: 171 kB / 0.7938 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004208/0.6809, allocations: 158.8 kB / 0.7939 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006884/0.6816, allocations: 0.5514 MB / 0.7945 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.6816, allocations: 33.31 kB / 0.7945 GB, free: 44 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.6816, allocations: 0 / 0.7945 GB, free: 44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.001415/0.683, allocations: 486.3 kB / 0.795 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.6831, allocations: 54.72 kB / 0.795 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002181/0.6833, allocations: 265 kB / 0.7953 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/0.6833, allocations: 29.14 kB / 0.7953 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.6834, allocations: 154.2 kB / 0.7955 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.6835, allocations: 39.38 kB / 0.7955 GB, free: 43.63 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.579e-05/0.6836, allocations: 42.52 kB / 0.7955 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.026e-05/0.6836, allocations: 340.8 kB / 0.7959 GB, free: 43.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.6841, allocations: 146.9 kB / 0.796 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.6845, allocations: 144.1 kB / 0.7961 GB, free: 43.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007927/0.6853, allocations: 292 kB / 0.7964 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.6853, allocations: 0 / 0.7964 GB, free: 43.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009507/0.6863, allocations: 375.9 kB / 0.7968 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.6863, allocations: 3.469 kB / 0.7968 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6863, allocations: 0.75 kB / 0.7968 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.6863, allocations: 1.5 kB / 0.7968 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.6867, allocations: 72.56 kB / 0.7969 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.6868, allocations: 0 / 0.7969 GB, free: 43.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.687, allocations: 48.06 kB / 0.7969 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.6871, allocations: 8.5 kB / 0.7969 GB, free: 43.21 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.992e-05/0.6872, allocations: 131.3 kB / 0.797 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.6872, allocations: 28.05 kB / 0.7971 GB, free: 43.08 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.6883, allocations: 377.9 kB / 0.7974 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.6883, allocations: 7.375 kB / 0.7974 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6883, allocations: 0 / 0.7974 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.6883, allocations: 4.922 kB / 0.7974 GB, free: 43.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000314/0.6886, allocations: 303.5 kB / 0.7977 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6886, allocations: 0 / 0.7977 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003699/0.689, allocations: 61.59 kB / 0.7978 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.689, allocations: 3.938 kB / 0.7978 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.689, allocations: 6.359 kB / 0.7978 GB, free: 42.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.6891, allocations: 6.203 kB / 0.7978 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.6891, allocations: 0 / 0.7978 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009855/0.69, allocations: 456 kB / 0.7982 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.6902, allocations: 124.1 kB / 0.7983 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.033e-05/0.6902, allocations: 0 / 0.7983 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.6906, allocations: 41.58 kB / 0.7984 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.6907, allocations: 15.23 kB / 0.7984 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.6907, allocations: 16.14 kB / 0.7984 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001501/0.6908, allocations: 183.2 kB / 0.7986 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6908, allocations: 0 / 0.7986 GB, free: 42.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003498/0.6912, allocations: 66.66 kB / 0.7987 GB, free: 42.47 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.0002269/0.6914, allocations: 137.9 kB / 0.7988 GB, free: 42.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.6924, allocations: 325.1 kB / 0.7991 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6925, allocations: 0 / 0.7991 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0004826/0.6929, allocations: 169.1 kB / 0.7993 GB, free: 42.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.6934, allocations: 30.05 kB / 0.7993 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009458/0.6944, allocations: 495.5 kB / 0.7998 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.6946, allocations: 0.7426 MB / 0.8005 GB, free: 41.43 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002009/0.6948, allocations: 48.67 kB / 0.8005 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.6949, allocations: 27.42 kB / 0.8006 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.6949, allocations: 0 / 0.8006 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of Templates: time 0.008324/0.7032, allocations: 3.284 MB / 0.8038 GB, free: 41.27 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)