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.0008915/0.0008913, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.006475/0.006475, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.876/2.876, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003768, allocations: 12.77 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3482, allocations: 162.2 MB / 1.074 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002865/0.3511, allocations: 1.866 MB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005641/0.3568, allocations: 4.047 MB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002339/0.357, allocations: 0 / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.3579, allocations: 171.5 kB / 1.08 GB, free: 1.383 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.3581, allocations: 67.47 kB / 1.08 GB, free: 1.316 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.3587, allocations: 219.6 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006141/0.3593, allocations: 446.6 kB / 1.081 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.3595, allocations: 60.64 kB / 1.081 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.3597, allocations: 115.5 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.3599, allocations: 159.3 kB / 1.081 GB, free: 344 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.277e-05/0.3599, allocations: 8 kB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000481/0.3604, allocations: 299.6 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001419/0.3606, allocations: 103.6 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000183/0.3608, allocations: 184.6 kB / 1.082 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0006346/0.3614, allocations: 0.5373 MB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3614, allocations: 4 kB / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3614, allocations: 0 / 1.082 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3614, allocations: 0 / 1.082 GB, free: 15.2 MB / 0.8419 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.001452/0.3629, allocations: 0.7648 MB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.363, allocations: 12.03 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009826/0.3639, allocations: 168.2 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008172/0.3648, allocations: 398.2 kB / 1.083 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.3648, allocations: 8.547 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.3648, allocations: 15.94 kB / 1.084 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007473/0.3656, allocations: 278.8 kB / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3656, allocations: 0 / 1.084 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.3657, allocations: 7.938 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.3657, allocations: 4 kB / 1.084 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.3668, allocations: 395.6 kB / 1.084 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.3683, allocations: 0.7032 MB / 1.085 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.369, allocations: 250.4 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005837/0.3696, allocations: 213 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.58e-05/0.3696, allocations: 23.98 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.3697, allocations: 34.56 kB / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.3697, allocations: 0 / 1.085 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001949/0.3716, allocations: 0.6525 MB / 1.086 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.3717, allocations: 55.39 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.3721, allocations: 429.8 kB / 1.086 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.3722, allocations: 25.7 kB / 1.086 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/0.3723, allocations: 196.5 kB / 1.087 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.3724, allocations: 47.34 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.3724, allocations: 33.7 kB / 1.087 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3726, allocations: 354.7 kB / 1.087 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000716/0.3733, allocations: 324 kB / 1.087 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/0.374, allocations: 332.2 kB / 1.088 GB, free: 9.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.3753, allocations: 0.5615 MB / 1.088 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3753, allocations: 4 kB / 1.088 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001581/0.3769, allocations: 0.7726 MB / 1.089 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/0.3769, allocations: 45.69 kB / 1.089 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3769, allocations: 0 / 1.089 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.377, allocations: 8 kB / 1.089 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.3775, allocations: 75.92 kB / 1.089 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3775, allocations: 0 / 1.089 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.3779, allocations: 75.56 kB / 1.089 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.3779, allocations: 12 kB / 1.089 GB, free: 7.762 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.0001902/0.3781, allocations: 161.8 kB / 1.089 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.569e-05/0.3782, allocations: 39.52 kB / 1.089 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.3796, allocations: 0.4891 MB / 1.09 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.3796, allocations: 0 / 1.09 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3796, allocations: 0 / 1.09 GB, free: 7.055 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-06/0.3796, allocations: 3.938 kB / 1.09 GB, free: 7.051 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.3801, allocations: 369.3 kB / 1.09 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3801, allocations: 8 kB / 1.09 GB, free: 6.633 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.3805, allocations: 75.86 kB / 1.09 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.3805, allocations: 3.984 kB / 1.09 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.3806, allocations: 12 kB / 1.09 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3806, allocations: 0 / 1.09 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3806, allocations: 0 / 1.09 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.3819, allocations: 0.5612 MB / 1.091 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.382, allocations: 136.5 kB / 1.091 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.3821, allocations: 4 kB / 1.091 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/0.3825, allocations: 47.95 kB / 1.091 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.3826, allocations: 19.97 kB / 1.091 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.3826, allocations: 15.86 kB / 1.091 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003024/0.3829, allocations: 307.1 kB / 1.091 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3829, allocations: 0 / 1.091 GB, free: 5.43 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000506/0.3834, allocations: 124 kB / 1.092 GB, free: 5.309 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.0003466/0.3838, allocations: 171.2 kB / 1.092 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.3853, allocations: 0.7333 MB / 1.092 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3853, allocations: 4 kB / 1.092 GB, free: 4.379 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006187/0.386, allocations: 215.6 kB / 1.093 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.3865, allocations: 61.86 kB / 1.093 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.3879, allocations: 0.8369 MB / 1.093 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.3883, allocations: 0.7908 MB / 1.094 GB, free: 2.43 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002767/0.3886, allocations: 53.92 kB / 1.094 GB, free: 2.379 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.3887, allocations: 31.41 kB / 1.094 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of SimCode: time 3.71e-07/0.3887, allocations: 0 / 1.094 GB, free: 2.348 MB / 0.8419 GB Notification: Performance of Templates: time 0.009959/0.3987, allocations: 4.992 MB / 1.099 GB, free: 13.4 MB / 0.8575 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)