Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Obsolete.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.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Obsolete.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.0008194/0.0008195, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.006242/0.006242, allocations: 169.9 kB / 16.27 MB, free: 6.648 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.518/1.518, allocations: 223.3 MB / 240.3 MB, free: 5.246 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.01/3.01, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005049/0.0005049, allocations: 11.34 kB / 0.9158 GB, free: 33.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.375, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.002468/0.3775, allocations: 1.831 MB / 1.076 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005323/0.3828, allocations: 3.731 MB / 1.08 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.383, allocations: 4 kB / 1.08 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.3833, allocations: 51.91 kB / 1.08 GB, free: 1.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.3837, allocations: 107.3 kB / 1.08 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.3841, allocations: 131.7 kB / 1.08 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003548/0.3845, allocations: 286.9 kB / 1.08 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.3846, allocations: 56.7 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.3849, allocations: 119.5 kB / 1.08 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.3851, allocations: 131.4 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.091e-05/0.3851, allocations: 12 kB / 1.08 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002492/0.3854, allocations: 123.8 kB / 1.081 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.3854, allocations: 43.77 kB / 1.081 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.3856, allocations: 141 kB / 1.081 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.386, allocations: 322.9 kB / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.386, allocations: 0 / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.386, allocations: 0 / 1.081 GB, free: 460 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.386, allocations: 3.938 kB / 1.081 GB, free: 456 kB / 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.001423/0.3874, allocations: 0.6155 MB / 1.082 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.3875, allocations: 15.97 kB / 1.082 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009946/0.3885, allocations: 156.4 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007475/0.3893, allocations: 344.1 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3893, allocations: 8.562 kB / 1.082 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.3893, allocations: 11.94 kB / 1.082 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007579/0.3901, allocations: 250 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3901, allocations: 3.984 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.485e-05/0.3901, allocations: 4 kB / 1.082 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.3902, allocations: 4 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.3913, allocations: 344.7 kB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.3928, allocations: 0.5864 MB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.3934, allocations: 202.4 kB / 1.084 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006599/0.3941, allocations: 189 kB / 1.084 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001138/0.3953, allocations: 0.5844 MB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3953, allocations: 34.56 kB / 1.084 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.3953, allocations: 4 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13): time 0.001892/0.3972, allocations: 0.5616 MB / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.3973, allocations: 51.41 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3976, allocations: 268.5 kB / 1.085 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3976, allocations: 29.7 kB / 1.085 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001067/0.3977, allocations: 144 kB / 1.085 GB, free: 11.77 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.3978, allocations: 51.3 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.927e-05/0.3979, allocations: 25.7 kB / 1.085 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.398, allocations: 338.8 kB / 1.086 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/0.3986, allocations: 171.9 kB / 1.086 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.3992, allocations: 182.2 kB / 1.086 GB, free: 11 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.4004, allocations: 348.5 kB / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.4004, allocations: 0 / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001252/0.4016, allocations: 434.1 kB / 1.087 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4017, allocations: 8 kB / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4017, allocations: 0 / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4017, allocations: 0 / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.4022, allocations: 87.91 kB / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4022, allocations: 0 / 1.087 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004442/0.4026, allocations: 59.89 kB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.4027, allocations: 7.984 kB / 1.087 GB, free: 10.07 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 (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.0001549/0.4028, allocations: 129.8 kB / 1.087 GB, free: 9.93 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.4029, allocations: 31.62 kB / 1.087 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.4043, allocations: 439.3 kB / 1.088 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.4043, allocations: 4 kB / 1.088 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4043, allocations: 3.938 kB / 1.088 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4043, allocations: 3.938 kB / 1.088 GB, free: 9.445 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005342/0.4049, allocations: 301.4 kB / 1.088 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4049, allocations: 0 / 1.088 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004138/0.4053, allocations: 79.86 kB / 1.088 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4053, allocations: 3.938 kB / 1.088 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.4053, allocations: 7.984 kB / 1.088 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.4053, allocations: 4 kB / 1.088 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4053, allocations: 0 / 1.088 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001306/0.4067, allocations: 0.5097 MB / 1.088 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.4068, allocations: 112.8 kB / 1.089 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/0.4068, allocations: 8 kB / 1.089 GB, free: 8.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003626/0.4072, allocations: 51.94 kB / 1.089 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.093e-05/0.4073, allocations: 11.98 kB / 1.089 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.4074, allocations: 11.92 kB / 1.089 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001807/0.4076, allocations: 187.1 kB / 1.089 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4076, allocations: 0 / 1.089 GB, free: 8.094 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003835/0.408, allocations: 79.83 kB / 1.089 GB, free: 8.016 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.0002786/0.4083, allocations: 131.2 kB / 1.089 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.4096, allocations: 385.1 kB / 1.089 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4096, allocations: 0 / 1.089 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006366/0.4103, allocations: 195.8 kB / 1.09 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000435/0.4107, allocations: 40.36 kB / 1.09 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.412, allocations: 0.5902 MB / 1.09 GB, free: 6.652 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.4126, allocations: 0.7515 MB / 1.091 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002576/0.4129, allocations: 45.38 kB / 1.091 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.413, allocations: 23.42 kB / 1.091 GB, free: 5.809 MB / 0.8419 GB Notification: Performance of SimCode: time 4.5e-07/0.413, allocations: 4 kB / 1.091 GB, free: 5.805 MB / 0.8419 GB Notification: Performance of Templates: time 0.007515/0.4205, allocations: 2.913 MB / 1.094 GB, free: 2.926 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1)