Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001815/0.001815, allocations: 194.3 kB / 16.14 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.891/2.891, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 62.09 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3219, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003818/0.3257, allocations: 2.221 MB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005438/0.3312, allocations: 4.097 MB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.3314, allocations: 7.938 kB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008023/0.3322, allocations: 171.6 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.3324, allocations: 67.47 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.3329, allocations: 226.6 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.3335, allocations: 442.6 kB / 1.075 GB, free: 3.652 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3336, allocations: 64.64 kB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.3338, allocations: 119.5 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.334, allocations: 159.3 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.685e-05/0.334, allocations: 12 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004564/0.3345, allocations: 299.6 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.3346, allocations: 107.6 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.3348, allocations: 163 kB / 1.075 GB, free: 2.746 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005549/0.3354, allocations: 0.5491 MB / 1.076 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3354, allocations: 4 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3354, allocations: 0 / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3354, allocations: 0 / 1.076 GB, free: 2.191 MB / 0.8262 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.001424/0.3368, allocations: 0.7878 MB / 1.077 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.3369, allocations: 8.031 kB / 1.077 GB, free: 1.34 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009512/0.3378, allocations: 180.2 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/0.3386, allocations: 394.2 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.3387, allocations: 4.562 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.022e-05/0.3387, allocations: 15.94 kB / 1.077 GB, free: 0.7227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.3394, allocations: 246.8 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.3394, allocations: 3.938 kB / 1.078 GB, free: 484 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3395, allocations: 7.984 kB / 1.078 GB, free: 476 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3395, allocations: 4 kB / 1.078 GB, free: 472 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.3405, allocations: 331.6 kB / 1.078 GB, free: 140 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.342, allocations: 0.6838 MB / 1.079 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.3426, allocations: 226.4 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.3431, allocations: 176.7 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/0.3432, allocations: 27.97 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.3432, allocations: 30.56 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.3433, allocations: 0 / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001754/0.345, allocations: 0.5632 MB / 1.08 GB, free: 14.36 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3451, allocations: 55.41 kB / 1.08 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.3455, allocations: 433.8 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.3455, allocations: 29.64 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.3456, allocations: 188.5 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.922e-05/0.3457, allocations: 43.36 kB / 1.08 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.3458, allocations: 49.69 kB / 1.08 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.346, allocations: 358.7 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006331/0.3466, allocations: 292 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/0.3473, allocations: 292.3 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3485, allocations: 0.5109 MB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3485, allocations: 0 / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001558/0.3501, allocations: 0.7217 MB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.3502, allocations: 45.69 kB / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3502, allocations: 0 / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3502, allocations: 0 / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.3507, allocations: 71.91 kB / 1.083 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3508, allocations: 0 / 1.083 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.3512, allocations: 59.67 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.3512, allocations: 11.98 kB / 1.083 GB, free: 11.17 MB / 0.8419 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.000219/0.3515, allocations: 157.8 kB / 1.083 GB, free: 11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.445e-05/0.3515, allocations: 39.52 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3529, allocations: 445.1 kB / 1.083 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.3529, allocations: 7.938 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3529, allocations: 0 / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3529, allocations: 3.938 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004957/0.3534, allocations: 365.3 kB / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3535, allocations: 0 / 1.084 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.3539, allocations: 67.86 kB / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.3539, allocations: 0 / 1.084 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.354, allocations: 7.984 kB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.354, allocations: 0 / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.354, allocations: 0 / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001183/0.3552, allocations: 0.5061 MB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.3553, allocations: 136.5 kB / 1.084 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.686e-05/0.3554, allocations: 4 kB / 1.084 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.3557, allocations: 35.95 kB / 1.084 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.696e-05/0.3558, allocations: 19.91 kB / 1.084 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.3559, allocations: 11.92 kB / 1.084 GB, free: 9.285 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003398/0.3562, allocations: 299.1 kB / 1.085 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3562, allocations: 4 kB / 1.085 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005823/0.3568, allocations: 128 kB / 1.085 GB, free: 8.867 MB / 0.8419 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.0004179/0.3572, allocations: 175.2 kB / 1.085 GB, free: 8.684 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.3587, allocations: 0.6746 MB / 1.086 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3587, allocations: 0 / 1.086 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.3593, allocations: 195.7 kB / 1.086 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.36, allocations: 55.44 kB / 1.086 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.3615, allocations: 0.7826 MB / 1.087 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.3619, allocations: 0.7986 MB / 1.087 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002818/0.3622, allocations: 49.92 kB / 1.087 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.3624, allocations: 31.41 kB / 1.087 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3624, allocations: 4 kB / 1.087 GB, free: 6.031 MB / 0.8419 GB Notification: Performance of Templates: time 0.00948/0.3719, allocations: 5.057 MB / 1.092 GB, free: 1.016 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)