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.001526/0.001526, allocations: 107 kB / 16.37 MB, free: 6.469 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.001557/0.001557, allocations: 193 kB / 17.31 MB, free: 5.82 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.753/1.753, allocations: 205.1 MB / 223.2 MB, free: 12.27 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.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001453/0.001453, allocations: 64.42 kB / 0.6729 GB, free: 5.82 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2706, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003532/0.2742, allocations: 2.139 MB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4741/0.7484, allocations: 3.802 MB / 0.7906 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.7486, allocations: 0 / 0.7906 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.749, allocations: 58.52 kB / 0.7907 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.7495, allocations: 122.2 kB / 0.7908 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.75, allocations: 151 kB / 0.7909 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.7503, allocations: 306.8 kB / 0.7912 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.7505, allocations: 60.91 kB / 0.7913 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002589/0.7508, allocations: 139 kB / 0.7914 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.751, allocations: 143.3 kB / 0.7915 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.751, allocations: 21 kB / 0.7916 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002652/0.7513, allocations: 134 kB / 0.7917 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.7514, allocations: 63.09 kB / 0.7917 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001118/0.7515, allocations: 122.4 kB / 0.7919 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003741/0.7519, allocations: 339 kB / 0.7922 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.7519, allocations: 0 / 0.7922 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7519, allocations: 0 / 0.7922 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.7519, allocations: 0 / 0.7922 GB, free: 46.22 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.001202/0.7531, allocations: 0.6317 MB / 0.7928 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7532, allocations: 10.78 kB / 0.7928 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/0.7541, allocations: 180.6 kB / 0.793 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.7547, allocations: 316.2 kB / 0.7933 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.7548, allocations: 12.19 kB / 0.7933 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.7548, allocations: 9.188 kB / 0.7933 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.7554, allocations: 224.8 kB / 0.7935 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.7555, allocations: 0 / 0.7935 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.7555, allocations: 5.828 kB / 0.7935 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.7555, allocations: 3.406 kB / 0.7935 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009247/0.7564, allocations: 278.4 kB / 0.7938 GB, free: 45.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001363/0.7578, allocations: 0.5776 MB / 0.7944 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.7584, allocations: 178.5 kB / 0.7945 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004793/0.7589, allocations: 154.6 kB / 0.7947 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007585/0.7596, allocations: 0.5471 MB / 0.7952 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.7597, allocations: 37.97 kB / 0.7952 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.7597, allocations: 0 / 0.7952 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13): time 0.001674/0.7614, allocations: 489.1 kB / 0.7957 GB, free: 44.46 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.7614, allocations: 51.41 kB / 0.7958 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.7617, allocations: 264.2 kB / 0.796 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.7617, allocations: 25.7 kB / 0.796 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 9.985e-05/0.7619, allocations: 159.8 kB / 0.7962 GB, free: 44.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.7619, allocations: 38.83 kB / 0.7962 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.762, allocations: 40.53 kB / 0.7963 GB, free: 44.13 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.978e-05/0.7621, allocations: 345.8 kB / 0.7966 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/0.7626, allocations: 140.7 kB / 0.7967 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.7631, allocations: 153.5 kB / 0.7969 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.7642, allocations: 285.4 kB / 0.7971 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7642, allocations: 0 / 0.7971 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001181/0.7654, allocations: 382.3 kB / 0.7975 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.7654, allocations: 6.938 kB / 0.7975 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.7654, allocations: 0 / 0.7975 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/0.7654, allocations: 0 / 0.7975 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.7659, allocations: 67.69 kB / 0.7976 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.766, allocations: 0 / 0.7976 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.7663, allocations: 49.17 kB / 0.7976 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.7663, allocations: 10.92 kB / 0.7976 GB, free: 43.72 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 0.0001231/0.7665, allocations: 127.8 kB / 0.7978 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.543e-05/0.7665, allocations: 30.73 kB / 0.7978 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/0.7677, allocations: 379.8 kB / 0.7982 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7677, allocations: 3.156 kB / 0.7982 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.7678, allocations: 0 / 0.7982 GB, free: 43.54 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.7678, allocations: 5.203 kB / 0.7982 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003414/0.7681, allocations: 303.6 kB / 0.7984 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7681, allocations: 0 / 0.7984 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/0.7685, allocations: 61.97 kB / 0.7985 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.7685, allocations: 0 / 0.7985 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.495e-05/0.7686, allocations: 12.55 kB / 0.7985 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.7686, allocations: 0.6094 kB / 0.7985 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7686, allocations: 0 / 0.7985 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.7697, allocations: 449.2 kB / 0.7989 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/0.7698, allocations: 127.4 kB / 0.7991 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.7699, allocations: 3.875 kB / 0.7991 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/0.7702, allocations: 36 kB / 0.7991 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/0.7703, allocations: 17.02 kB / 0.7991 GB, free: 43.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.7703, allocations: 12.52 kB / 0.7991 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001582/0.7705, allocations: 189.7 kB / 0.7993 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7705, allocations: 0 / 0.7993 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003613/0.7709, allocations: 67.38 kB / 0.7994 GB, free: 42.98 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.0002351/0.7711, allocations: 143.1 kB / 0.7995 GB, free: 42.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001141/0.7722, allocations: 323.6 kB / 0.7998 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.7723, allocations: 0 / 0.7998 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/0.7728, allocations: 166 kB / 0.8 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.7733, allocations: 33.2 kB / 0.8 GB, free: 42.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.7745, allocations: 0.5105 MB / 0.8005 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.7748, allocations: 0.7477 MB / 0.8012 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.7749, allocations: 29.53 kB / 0.8013 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.7749, allocations: 0 / 0.8013 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.008626/0.7835, allocations: 3.727 MB / 0.8049 GB, free: 41.55 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)