Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.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.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, 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.001086/0.001086, allocations: 196 kB / 16.53 MB, free: 6.664 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.728/2.728, allocations: 472.6 MB / 0.7451 GB, free: 4.637 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 67.62 kB / 0.912 GB, free: 33.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3058, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface): time 0.01365/0.3195, allocations: 11.78 MB / 1.08 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.1557/0.4753, allocations: 152.7 MB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.4775, allocations: 27.88 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.4791, allocations: 447.3 kB / 1.229 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00433/0.4835, allocations: 1.19 MB / 1.23 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004672/0.4882, allocations: 1.66 MB / 1.232 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.006417/0.4946, allocations: 4.188 MB / 1.236 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003962/0.4986, allocations: 2.368 MB / 1.238 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003158/0.5018, allocations: 1.76 MB / 1.24 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002845/0.5047, allocations: 1.961 MB / 1.242 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001429/0.5061, allocations: 0.5469 MB / 1.243 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.5083, allocations: 0.9059 MB / 1.243 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001328/0.5096, allocations: 1.06 MB / 1.244 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003015/0.5127, allocations: 2.081 MB / 1.247 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.5533/1.066, allocations: 5.772 MB / 1.252 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.066, allocations: 0 / 1.252 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/1.066, allocations: 0.9062 kB / 1.252 GB, free: 19.49 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001245/1.066, allocations: 0.6562 kB / 1.252 GB, free: 19.49 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 875 * Number of variables: 875 Notification: Performance of Generate backend data structure: time 0.00884/1.075, allocations: 3.801 MB / 1.256 GB, free: 18.01 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/1.075, allocations: 9.281 kB / 1.256 GB, free: 18.01 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/1.092, allocations: 2.226 MB / 1.258 GB, free: 17.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004144/1.096, allocations: 1.738 MB / 1.26 GB, free: 17.35 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002334/1.097, allocations: 262.5 kB / 1.26 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001133/1.098, allocations: 328.8 kB / 1.26 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01248/1.11, allocations: 4.457 MB / 1.265 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.215e-05/1.11, allocations: 3.188 kB / 1.265 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004339/1.111, allocations: 141.5 kB / 1.265 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.586e-05/1.111, allocations: 84.06 kB / 1.265 GB, free: 17.1 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/1.127, allocations: 5.143 MB / 1.27 GB, free: 17.07 MB / 0.9981 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.02589/1.153, allocations: 12.62 MB / 1.282 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/1.164, allocations: 3.384 MB / 1.286 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00567/1.17, allocations: 1.729 MB / 1.287 GB, free: 13.51 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008596/1.171, allocations: 0.5172 MB / 1.288 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007314/1.178, allocations: 2.15 MB / 1.29 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=249): time 1.11e-05/1.178, allocations: 6.109 kB / 1.29 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=249): time 0.0197/1.198, allocations: 5.194 MB / 1.295 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.511e-05/1.198, allocations: 209.8 kB / 1.295 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002295/1.2, allocations: 1.307 MB / 1.296 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007106/1.201, allocations: 71.64 kB / 1.296 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008534/1.202, allocations: 1.128 MB / 1.298 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.203, allocations: 0.7902 MB / 1.298 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/1.205, allocations: 465.1 kB / 1.299 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.494e-05/1.205, allocations: 302.4 kB / 1.299 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005104/1.21, allocations: 1.472 MB / 1.3 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005104/1.215, allocations: 1.685 MB / 1.302 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009644/1.225, allocations: 3.063 MB / 1.305 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/1.225, allocations: 1.375 kB / 1.305 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01172/1.236, allocations: 3.659 MB / 1.309 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.236, allocations: 3.094 kB / 1.309 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/1.236, allocations: 2.531 kB / 1.309 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005789/1.237, allocations: 90.38 kB / 1.309 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004121/1.241, allocations: 0.677 MB / 1.309 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/1.243, allocations: 1.633 MB / 1.311 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003933/1.247, allocations: 418.5 kB / 1.311 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/1.247, allocations: 114.9 kB / 1.312 GB, free: 7.848 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 35 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HGloWal.HDirTil.incAng.decAng.tNext,$PRE.HGloWal.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,$PRE.HGloWal.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,$PRE.HGloFlo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,$PRE.HGloFlo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,$PRE.HGloRoo.HDirTil.incAng.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,$PRE.HGloRoo.HDifTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 283 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001572/1.249, allocations: 0.6037 MB / 1.312 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/1.249, allocations: 206.4 kB / 1.312 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/1.263, allocations: 4.352 MB / 1.317 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.192e-05/1.263, allocations: 23.97 kB / 1.317 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/1.263, allocations: 1.5 kB / 1.317 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.753e-05/1.263, allocations: 15.22 kB / 1.317 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004203/1.267, allocations: 3.451 MB / 1.32 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/1.267, allocations: 0 / 1.32 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003911/1.271, allocations: 0.6214 MB / 1.321 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004629/1.271, allocations: 75.53 kB / 1.321 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003037/1.272, allocations: 84.23 kB / 1.321 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/1.273, allocations: 1.674 MB / 1.322 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.273, allocations: 0 / 1.322 GB, free: 2.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/1.284, allocations: 3.747 MB / 1.326 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/1.285, allocations: 0.7 MB / 1.327 GB, free: 476 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004505/1.285, allocations: 67.28 kB / 1.327 GB, free: 428 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003165/1.288, allocations: 282.4 kB / 1.327 GB, free: 384 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/1.289, allocations: 192.5 kB / 1.327 GB, free: 348 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/1.289, allocations: 106.8 kB / 1.327 GB, free: 328 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001193/1.29, allocations: 0.9646 MB / 1.328 GB, free: 15.87 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.4e-07/1.29, allocations: 0 / 1.328 GB, free: 15.87 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002142/1.292, allocations: 0.9089 MB / 1.329 GB, free: 15.6 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,HGloWal.HDirTil.incAng.decAng.tNext) * Number of discrete states: 11 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HGloRoo.HDifTil.incAng.decAng.tNext,HGloRoo.HDirTil.incAng.decAng.tNext,HGloFlo.HDifTil.incAng.decAng.tNext,HGloFlo.HDirTil.incAng.decAng.tNext,HGloWal.HDifTil.incAng.decAng.tNext,HGloWal.HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001506/1.294, allocations: 0.6781 MB / 1.33 GB, free: 15.32 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0169/1.311, allocations: 4.265 MB / 1.334 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/1.311, allocations: 2.125 kB / 1.334 GB, free: 13.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.007482/1.318, allocations: 2.021 MB / 1.336 GB, free: 12.44 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003005/1.321, allocations: 464.7 kB / 1.336 GB, free: 12.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/1.333, allocations: 5.473 MB / 1.342 GB, free: 9.078 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001312/1.335, allocations: 1.726 MB / 1.343 GB, free: 7.941 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.004489/1.339, allocations: 0.6507 MB / 1.344 GB, free: 7.562 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001276/1.341, allocations: 283.3 kB / 1.344 GB, free: 7.461 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/1.341, allocations: 1.219 kB / 1.344 GB, free: 7.461 MB / 1.014 GB Notification: Performance of Templates: time 0.06388/1.404, allocations: 39.34 MB / 1.383 GB, free: 3.082 MB / 1.045 GB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.sim & ./Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.SolarIrradiation.Examples.GlobalPerezTiltedSurface.pipe 2>&1)