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.001169/0.001169, allocations: 104.8 kB / 15.98 MB, free: 6.352 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.001063/0.001063, allocations: 193 kB / 16.91 MB, free: 6.188 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.617/1.617, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.677/1.677, allocations: 292.3 MB / 0.5492 GB, free: 13.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.001431/0.001431, allocations: 66.47 kB / 0.6716 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2948, allocations: 114.5 MB / 0.7835 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003705/0.2985, allocations: 2.2 MB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004695/0.3033, allocations: 3.749 MB / 0.7893 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.3035, allocations: 4 kB / 0.7893 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.3038, allocations: 39.75 kB / 0.7894 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003987/0.3042, allocations: 119.2 kB / 0.7895 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.3046, allocations: 127.8 kB / 0.7896 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.305, allocations: 310.8 kB / 0.7899 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3051, allocations: 56.7 kB / 0.7899 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.3054, allocations: 135.5 kB / 0.7901 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.3056, allocations: 151.4 kB / 0.7902 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.039e-05/0.3056, allocations: 20 kB / 0.7902 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.3059, allocations: 131.8 kB / 0.7904 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.86e-05/0.306, allocations: 63.75 kB / 0.7904 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001404/0.3061, allocations: 119.3 kB / 0.7905 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.3065, allocations: 239.4 kB / 0.7908 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3065, allocations: 0 / 0.7908 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3065, allocations: 0 / 0.7908 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.3065, allocations: 0 / 0.7908 GB, free: 6.402 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.001307/0.3078, allocations: 0.6269 MB / 0.7914 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.3079, allocations: 12.03 kB / 0.7914 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009141/0.3088, allocations: 176.3 kB / 0.7916 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007335/0.3096, allocations: 324.3 kB / 0.7919 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3096, allocations: 12.56 kB / 0.7919 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.3096, allocations: 11.94 kB / 0.7919 GB, free: 5.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/0.3103, allocations: 226.1 kB / 0.7921 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3103, allocations: 4 kB / 0.7921 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.3103, allocations: 4 kB / 0.7921 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3104, allocations: 4 kB / 0.7921 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009349/0.3113, allocations: 279.7 kB / 0.7924 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001309/0.3126, allocations: 0.5823 MB / 0.793 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.3132, allocations: 170.4 kB / 0.7931 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000491/0.3137, allocations: 152.7 kB / 0.7933 GB, free: 3.688 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008728/0.3145, allocations: 0.5532 MB / 0.7938 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.03e-05/0.3146, allocations: 30.56 kB / 0.7938 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.3146, allocations: 0 / 0.7938 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13): time 0.001633/0.3162, allocations: 491.9 kB / 0.7943 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.3163, allocations: 55.41 kB / 0.7944 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.3166, allocations: 260.6 kB / 0.7946 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.788e-05/0.3166, allocations: 33.7 kB / 0.7946 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.3168, allocations: 144 kB / 0.7948 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.623e-05/0.3168, allocations: 47.3 kB / 0.7948 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.974e-05/0.3169, allocations: 37.69 kB / 0.7949 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.3171, allocations: 346.8 kB / 0.7952 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/0.3176, allocations: 143.9 kB / 0.7953 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.3181, allocations: 147.9 kB / 0.7955 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009215/0.319, allocations: 295.9 kB / 0.7957 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3191, allocations: 0 / 0.7957 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001081/0.3201, allocations: 373 kB / 0.7961 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.3202, allocations: 11.94 kB / 0.7961 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3202, allocations: 0 / 0.7961 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3202, allocations: 0 / 0.7961 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.3207, allocations: 67.92 kB / 0.7962 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.3207, allocations: 3.938 kB / 0.7962 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.321, allocations: 51.72 kB / 0.7962 GB, free: 488 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.321, allocations: 4 kB / 0.7962 GB, free: 484 kB / 0.6075 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.0001707/0.3212, allocations: 133.8 kB / 0.7964 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.929e-05/0.3213, allocations: 27.56 kB / 0.7964 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001204/0.3225, allocations: 379.3 kB / 0.7967 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3225, allocations: 0 / 0.7967 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3225, allocations: 0 / 0.7967 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3226, allocations: 11.92 kB / 0.7968 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.3229, allocations: 297.5 kB / 0.797 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.323, allocations: 0 / 0.797 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.3234, allocations: 59.92 kB / 0.7971 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3234, allocations: 0 / 0.7971 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.3234, allocations: 11.98 kB / 0.7971 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3234, allocations: 0 / 0.7971 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3234, allocations: 3.984 kB / 0.7971 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.3245, allocations: 454.8 kB / 0.7975 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.3247, allocations: 128.7 kB / 0.7977 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.3247, allocations: 0 / 0.7977 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000314/0.3251, allocations: 35.95 kB / 0.7977 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.943e-05/0.3252, allocations: 19.97 kB / 0.7977 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.3252, allocations: 7.938 kB / 0.7977 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001864/0.3254, allocations: 191.1 kB / 0.7979 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3254, allocations: 4 kB / 0.7979 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003674/0.3258, allocations: 60 kB / 0.798 GB, free: 14.58 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 (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.0002657/0.326, allocations: 139.2 kB / 0.7981 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.3271, allocations: 330.5 kB / 0.7984 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3272, allocations: 0 / 0.7984 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.3277, allocations: 163.8 kB / 0.7986 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.3282, allocations: 31.45 kB / 0.7986 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.3294, allocations: 0.6086 MB / 0.7992 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.3298, allocations: 0.7435 MB / 0.7999 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.33, allocations: 31.41 kB / 0.8 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.33, allocations: 0 / 0.8 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of Templates: time 0.006134/0.3361, allocations: 3.725 MB / 0.8036 GB, free: 8.785 MB / 0.6231 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)