Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009157/0.0009154, allocations: 92.72 kB / 16.02 MB, free: 84 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.001218/0.001218, allocations: 177.3 kB / 16.92 MB, free: 6.68 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.535/1.535, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.683/0.683, allocations: 115.5 MB / 407.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000504/0.000504, allocations: 12.91 kB / 495.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1812, allocations: 77.53 MB / 0.5599 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.007455/0.1887, allocations: 6.52 MB / 0.5663 GB, free: 2.504 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4775/0.6662, allocations: 147.2 MB / 0.7101 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.6676, allocations: 15.94 kB / 0.7101 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006974/0.6683, allocations: 202.4 kB / 0.7103 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/0.6705, allocations: 0.6688 MB / 0.711 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.6727, allocations: 0.8911 MB / 0.7118 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002181/0.6748, allocations: 1.945 MB / 0.7137 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.6763, allocations: 1.054 MB / 0.7148 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008451/0.6772, allocations: 0.5442 MB / 0.7153 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007372/0.6779, allocations: 0.6136 MB / 0.7159 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.678, allocations: 36 kB / 0.7159 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.6792, allocations: 375.7 kB / 0.7163 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002914/0.6795, allocations: 274.5 kB / 0.7165 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0007075/0.6802, allocations: 0.7433 MB / 0.7173 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.6825, allocations: 2.421 MB / 0.7196 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6825, allocations: 0 / 0.7196 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6825, allocations: 0 / 0.7196 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.297e-05/0.6825, allocations: 0 / 0.7196 GB, free: 3.016 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003251/0.6858, allocations: 1.704 MB / 0.7213 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.6858, allocations: 8.031 kB / 0.7213 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.6868, allocations: 266.6 kB / 0.7216 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001381/0.6882, allocations: 0.9736 MB / 0.7225 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.6884, allocations: 144.8 kB / 0.7226 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.6887, allocations: 148 kB / 0.7228 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.6916, allocations: 1.597 MB / 0.7243 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.6916, allocations: 0 / 0.7243 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.6917, allocations: 67.98 kB / 0.7244 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.6918, allocations: 40 kB / 0.7245 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.6944, allocations: 1.6 MB / 0.726 GB, free: 12.31 MB / 0.545 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.007144/0.7015, allocations: 4.774 MB / 0.7307 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.7035, allocations: 1.104 MB / 0.7318 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007349/0.7042, allocations: 439.9 kB / 0.7322 GB, free: 5.809 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001006/0.7044, allocations: 49 kB / 0.7322 GB, free: 5.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/0.7056, allocations: 0.7052 MB / 0.7329 GB, free: 5.043 MB / 0.545 GB Notification: Performance of pre-optimization done (n=111): time 3.166e-06/0.7056, allocations: 0 / 0.7329 GB, free: 5.043 MB / 0.545 GB Notification: Performance of matching and sorting (n=111): time 0.003968/0.7096, allocations: 1.672 MB / 0.7345 GB, free: 3.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.7097, allocations: 196.9 kB / 0.7347 GB, free: 3.109 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.7109, allocations: 0.8414 MB / 0.7356 GB, free: 2.258 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.176e-05/0.711, allocations: 49.7 kB / 0.7356 GB, free: 2.203 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004983/0.7115, allocations: 0.6245 MB / 0.7362 GB, free: 1.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003138/0.7118, allocations: 358.8 kB / 0.7366 GB, free: 1.215 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.7119, allocations: 93.67 kB / 0.7366 GB, free: 1.117 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7121, allocations: 345.9 kB / 0.737 GB, free: 0.7734 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007551/0.7128, allocations: 406.4 kB / 0.7374 GB, free: 388 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008995/0.7137, allocations: 0.5112 MB / 0.7379 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.7153, allocations: 0.9033 MB / 0.7387 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7153, allocations: 0 / 0.7387 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002493/0.7178, allocations: 1.215 MB / 0.7399 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.7179, allocations: 12.12 kB / 0.7399 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.7179, allocations: 0 / 0.7399 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.7185, allocations: 88.77 kB / 0.74 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009378/0.7194, allocations: 231.7 kB / 0.7402 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.7215, allocations: 1.544 MB / 0.7418 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.7226, allocations: 156.5 kB / 0.7419 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-05/0.7227, allocations: 51.95 kB / 0.7419 GB, free: 11.49 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * 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.0006927/0.7234, allocations: 348.2 kB / 0.7423 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.7236, allocations: 114.6 kB / 0.7424 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.7268, allocations: 1.547 MB / 0.7439 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.7268, allocations: 12 kB / 0.7439 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.7268, allocations: 3.938 kB / 0.7439 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.7269, allocations: 7.969 kB / 0.7439 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.7285, allocations: 1.372 MB / 0.7453 GB, free: 8.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7285, allocations: 4 kB / 0.7453 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007824/0.7293, allocations: 199.7 kB / 0.7455 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/0.7298, allocations: 92.7 kB / 0.7455 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.225e-05/0.7299, allocations: 35.97 kB / 0.7456 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001761/0.7316, allocations: 1.548 MB / 0.7471 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7317, allocations: 0 / 0.7471 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.7341, allocations: 1.296 MB / 0.7484 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/0.7347, allocations: 379 kB / 0.7487 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001931/0.7349, allocations: 31.98 kB / 0.7488 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009536/0.7359, allocations: 111.9 kB / 0.7489 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.7361, allocations: 105 kB / 0.749 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.7362, allocations: 55.95 kB / 0.749 GB, free: 4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009164/0.7371, allocations: 0.6096 MB / 0.7496 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7371, allocations: 0 / 0.7496 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001218/0.7384, allocations: 482.5 kB / 0.7501 GB, free: 2.906 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001399/0.7398, allocations: 0.6258 MB / 0.7507 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.7419, allocations: 1.162 MB / 0.7518 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.742, allocations: 0 / 0.7518 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/0.7431, allocations: 0.6777 MB / 0.7525 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/0.7446, allocations: 326.1 kB / 0.7528 GB, free: 300 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/0.7496, allocations: 3.197 MB / 0.7559 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.7507, allocations: 1.22 MB / 0.7571 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001076/0.7517, allocations: 321.3 kB / 0.7574 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.7522, allocations: 143.3 kB / 0.7575 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of SimCode: time 1.743e-06/0.7522, allocations: 0 / 0.7575 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of Templates: time 0.037/0.7892, allocations: 19.55 MB / 0.7766 GB, free: 8.031 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)