Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.Validation.ExtremeAmbientConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions") translateModel(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007908/0.0007908, allocations: 97.64 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.006831/0.006831, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.487/1.487, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.803/2.803, allocations: 473.4 MB / 0.7469 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 10.12 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.338, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions): time 0.05357/0.3916, allocations: 50.88 MB / 1.124 GB, free: 4.488 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0285/0.4202, allocations: 19.06 MB / 1.142 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003827/0.424, allocations: 67.56 kB / 1.142 GB, free: 1.32 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003996/0.428, allocations: 1.018 MB / 1.143 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00843/0.4365, allocations: 2.305 MB / 1.146 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00571/0.4422, allocations: 1.906 MB / 1.148 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01539/0.4576, allocations: 12.9 MB / 1.16 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006661/0.4643, allocations: 4.116 MB / 1.164 GB, free: 10.95 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006658/0.471, allocations: 2.637 MB / 1.167 GB, free: 8.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005908/0.477, allocations: 2.687 MB / 1.169 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.4782, allocations: 144 kB / 1.17 GB, free: 5.457 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.4833, allocations: 1.38 MB / 1.171 GB, free: 4.074 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.4847, allocations: 0.8673 MB / 1.172 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.004265/0.489, allocations: 2.092 MB / 1.174 GB, free: 1.094 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.009691/0.4987, allocations: 7.11 MB / 1.181 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.4987, allocations: 0 / 1.181 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.404e-06/0.4988, allocations: 0 / 1.181 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0002242/0.499, allocations: 0 / 1.181 GB, free: 9.961 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.01066/0.5097, allocations: 4.257 MB / 1.185 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.5097, allocations: 11.97 kB / 1.185 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.5233, allocations: 1.915 MB / 1.187 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009003/0.5323, allocations: 3.998 MB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.5326, allocations: 226.1 kB / 1.191 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009911/0.5336, allocations: 311.8 kB / 1.191 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.5456, allocations: 4.937 MB / 1.196 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.363e-05/0.5458, allocations: 11.94 kB / 1.196 GB, free: 10 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003953/0.5462, allocations: 128 kB / 1.196 GB, free: 9.879 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001469/0.5463, allocations: 138 kB / 1.196 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01431/0.5606, allocations: 5.027 MB / 1.201 GB, free: 4.703 MB / 0.9512 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0303/0.591, allocations: 16.78 MB / 1.218 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008526/0.5996, allocations: 3.542 MB / 1.221 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/0.6043, allocations: 1.783 MB / 1.223 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/0.6057, allocations: 1.153 MB / 1.224 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005173/0.6108, allocations: 1.865 MB / 1.226 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=192): time 4.328e-06/0.6109, allocations: 0 / 1.226 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=192): time 0.01447/0.6254, allocations: 4.751 MB / 1.23 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.402e-05/0.6255, allocations: 124.8 kB / 1.23 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00815/0.6337, allocations: 3.459 MB / 1.234 GB, free: 2.234 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0007293/0.6344, allocations: 69.7 kB / 1.234 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.00207/0.6365, allocations: 1.714 MB / 1.236 GB, free: 440 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.001369/0.6379, allocations: 0.6433 MB / 1.236 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008318/0.6387, allocations: 202.6 kB / 1.236 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6389, allocations: 313 kB / 1.237 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005359/0.6442, allocations: 1.761 MB / 1.238 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005511/0.6498, allocations: 2.265 MB / 1.241 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009871/0.6597, allocations: 3.888 MB / 1.244 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-05/0.6597, allocations: 4 kB / 1.244 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=312) (initialization): time 0.01303/0.6728, allocations: 4.592 MB / 1.249 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004514/0.6733, allocations: 0.5369 MB / 1.249 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.6733, allocations: 12 kB / 1.249 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.567e-05/0.6734, allocations: 24 kB / 1.249 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004029/0.6774, allocations: 0.6904 MB / 1.25 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-05/0.6775, allocations: 31.86 kB / 1.25 GB, free: 0.8672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005014/0.6825, allocations: 0.5276 MB / 1.251 GB, free: 344 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005242/0.683, allocations: 123.9 kB / 1.251 GB, free: 220 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.6831, allocations: 4 kB / 1.251 GB, free: 216 kB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7128/1.396, allocations: 4.519 MB / 1.255 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-05/1.396, allocations: 16.34 kB / 1.255 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-05/1.396, allocations: 24.2 kB / 1.255 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004098/1.4, allocations: 0.6891 MB / 1.256 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.151e-05/1.4, allocations: 33.08 kB / 1.256 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/1.405, allocations: 490 kB / 1.256 GB, free: 165.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003865/1.406, allocations: 121.8 kB / 1.257 GB, free: 165.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.solAsh.HDifTilIso.incAng.decAng.tNext,$whenCondition4,$PRE.solAsh.HDirTil.incAng.decAng.tNext,$whenCondition3,$PRE.solEn.HDifTilIso.incAng.decAng.tNext,$whenCondition2,$PRE.solEn.HDirTil.incAng.decAng.tNext,$whenCondition1,solEn.HDirTil.incAng.decAng.tNext,solEn.HDifTilIso.incAng.decAng.tNext,solAsh.HDirTil.incAng.decAng.tNext,solAsh.HDifTilIso.incAng.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (294): * Single equations (assignments): 292 * Array equations: 0 * Algorithm blocks: 2 * 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.00272/1.408, allocations: 1.228 MB / 1.258 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009721/1.409, allocations: 346.9 kB / 1.258 GB, free: 165.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.419, allocations: 3.998 MB / 1.262 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-05/1.42, allocations: 18.88 kB / 1.262 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.42, allocations: 0 / 1.262 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008337/1.428, allocations: 3.275 MB / 1.265 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01864/1.447, allocations: 7.819 MB / 1.273 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/1.447, allocations: 3.891 kB / 1.273 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003402/1.45, allocations: 0.5279 MB / 1.273 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.967e-05/1.45, allocations: 11.17 kB / 1.273 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002802/1.45, allocations: 67 kB / 1.273 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.839e-05/1.45, allocations: 10.94 kB / 1.273 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/1.45, allocations: 8.312 kB / 1.273 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/1.466, allocations: 5.663 MB / 1.279 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003184/1.469, allocations: 0.885 MB / 1.28 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/1.47, allocations: 45.06 kB / 1.28 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00406/1.474, allocations: 311.1 kB / 1.28 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000409/1.474, allocations: 125.9 kB / 1.28 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002925/1.475, allocations: 97.55 kB / 1.28 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005543/1.48, allocations: 2.532 MB / 1.283 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.51e-07/1.48, allocations: 0 / 1.283 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007863/1.488, allocations: 1.833 MB / 1.285 GB, free: 156.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,solAsh.HDifTilIso.incAng.decAng.tNext,solAsh.HDirTil.incAng.decAng.tNext,solEn.HDifTilIso.incAng.decAng.tNext,solEn.HDirTil.incAng.decAng.tNext) * Number of discrete states: 4 (solAsh.HDifTilIso.incAng.decAng.tNext,solAsh.HDirTil.incAng.decAng.tNext,solEn.HDifTilIso.incAng.decAng.tNext,solEn.HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (199): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * 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.00151/1.49, allocations: 0.5372 MB / 1.285 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01581/1.506, allocations: 6.765 MB / 1.292 GB, free: 154 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/1.506, allocations: 6.625 kB / 1.292 GB, free: 154 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004198/1.51, allocations: 1.674 MB / 1.293 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01054/1.52, allocations: 1.665 MB / 1.295 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/1.535, allocations: 9.412 MB / 1.304 GB, free: 147.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00178/1.536, allocations: 2.616 MB / 1.307 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.006727/1.543, allocations: 1.466 MB / 1.308 GB, free: 145.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001235/1.544, allocations: 315.2 kB / 1.309 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.544, allocations: 0 / 1.309 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.1019/1.646, allocations: 70.41 MB / 1.377 GB, free: 75.02 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.makefile (rm -f Buildings_1.6_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe >> ../files/Buildings_1.6_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.sim & ./Buildings_1.6_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.pipe 2>&1)