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.001106/0.001106, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 194 kB / 16.53 MB, free: 6.699 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.395/1.395, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.34 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3247, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.00366/0.3284, allocations: 2.164 MB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004972/0.3334, allocations: 4.089 MB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3335, allocations: 0 / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0007789/0.3344, allocations: 187.3 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.3345, allocations: 71.34 kB / 1.075 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.3352, allocations: 291.2 kB / 1.075 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005539/0.3358, allocations: 434.7 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.3359, allocations: 60.7 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.3361, allocations: 135.5 kB / 1.075 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/0.3363, allocations: 155.3 kB / 1.076 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.3363, allocations: 24 kB / 1.076 GB, free: 2.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.3368, allocations: 315.6 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3369, allocations: 111.7 kB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.3371, allocations: 167 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006253/0.3377, allocations: 0.5647 MB / 1.077 GB, free: 1.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3378, allocations: 4 kB / 1.077 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.168e-06/0.3378, allocations: 4 kB / 1.077 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.3378, allocations: 0 / 1.077 GB, free: 1.664 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.001437/0.3392, allocations: 0.7972 MB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3393, allocations: 8.031 kB / 1.077 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009991/0.3403, allocations: 180.2 kB / 1.078 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.3411, allocations: 386.3 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.3411, allocations: 8.562 kB / 1.078 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.3411, allocations: 11.94 kB / 1.078 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006962/0.3418, allocations: 254.3 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3419, allocations: 4 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.3419, allocations: 0 / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3419, allocations: 3.984 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.343, allocations: 331.7 kB / 1.079 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.3443, allocations: 0.6876 MB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.3449, allocations: 226.4 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.3454, allocations: 180.9 kB / 1.08 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/0.3455, allocations: 31.97 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.3455, allocations: 30.56 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 3.075e-06/0.3455, allocations: 0 / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001767/0.3473, allocations: 0.5661 MB / 1.08 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3474, allocations: 55.41 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.3478, allocations: 433.8 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.3479, allocations: 29.7 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.348, allocations: 188.5 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.3481, allocations: 39.36 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.3482, allocations: 49.69 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3484, allocations: 354.7 kB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006633/0.349, allocations: 296 kB / 1.082 GB, free: 12.36 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006397/0.3497, allocations: 292.3 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.3509, allocations: 0.5175 MB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3509, allocations: 0 / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001437/0.3524, allocations: 0.7186 MB / 1.083 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/0.3524, allocations: 43.09 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.3524, allocations: 0 / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.3525, allocations: 0 / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004532/0.3529, allocations: 75.84 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3529, allocations: 0 / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.3533, allocations: 55.67 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.3533, allocations: 11.98 kB / 1.083 GB, free: 10.63 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.0001617/0.3535, allocations: 158.3 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.676e-05/0.3536, allocations: 35.53 kB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/0.3548, allocations: 444.8 kB / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3549, allocations: 0 / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3549, allocations: 4 kB / 1.084 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.3549, allocations: 7.875 kB / 1.084 GB, free: 9.977 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.3553, allocations: 369.3 kB / 1.084 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3553, allocations: 0 / 1.084 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003967/0.3557, allocations: 59.92 kB / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.3557, allocations: 0 / 1.084 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.3557, allocations: 7.984 kB / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3557, allocations: 0 / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3557, allocations: 0 / 1.084 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3569, allocations: 0.5026 MB / 1.085 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.3571, allocations: 148.5 kB / 1.085 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.3571, allocations: 8 kB / 1.085 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003571/0.3575, allocations: 31.95 kB / 1.085 GB, free: 8.777 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.3576, allocations: 15.97 kB / 1.085 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.3576, allocations: 11.88 kB / 1.085 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003045/0.3579, allocations: 307.1 kB / 1.085 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3579, allocations: 0 / 1.085 GB, free: 8.457 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005046/0.3584, allocations: 124 kB / 1.085 GB, free: 8.336 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.0003363/0.3588, allocations: 171.2 kB / 1.086 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.3602, allocations: 0.6942 MB / 1.086 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3603, allocations: 0 / 1.086 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005684/0.3608, allocations: 191.8 kB / 1.086 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.3614, allocations: 62.78 kB / 1.087 GB, free: 7.211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.3627, allocations: 0.7005 MB / 1.087 GB, free: 6.488 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.363, allocations: 0.7905 MB / 1.088 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002742/0.3633, allocations: 61.83 kB / 1.088 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3634, allocations: 27.42 kB / 1.088 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of SimCode: time 5.62e-07/0.3634, allocations: 4 kB / 1.088 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of Templates: time 0.009472/0.3729, allocations: 5.462 MB / 1.093 GB, free: 164 kB / 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)