Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008195/0.0008193, allocations: 93.03 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.001107/0.001107, allocations: 174.9 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.492/1.492, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7053/0.7053, allocations: 115.5 MB / 407.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003586/0.0003586, allocations: 8 kB / 495.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1748, allocations: 77.53 MB / 0.56 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006109/0.1809, allocations: 4.536 MB / 0.5644 GB, free: 4.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.5405/0.7215, allocations: 146.9 MB / 0.7078 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.7226, allocations: 19.88 kB / 0.7079 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.7233, allocations: 142.8 kB / 0.708 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.7253, allocations: 0.4908 MB / 0.7085 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.7275, allocations: 0.7329 MB / 0.7092 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001948/0.7295, allocations: 1.347 MB / 0.7105 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009606/0.7305, allocations: 0.5734 MB / 0.7111 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008277/0.7313, allocations: 378.2 kB / 0.7114 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006267/0.7319, allocations: 413.8 kB / 0.7118 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.493e-05/0.732, allocations: 28 kB / 0.7118 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001021/0.7331, allocations: 371.6 kB / 0.7122 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002525/0.7333, allocations: 203 kB / 0.7124 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005411/0.7339, allocations: 0.4947 MB / 0.7129 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001915/0.7358, allocations: 1.542 MB / 0.7144 GB, free: 8.492 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.7358, allocations: 4 kB / 0.7144 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7358, allocations: 0 / 0.7144 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.7359, allocations: 0 / 0.7144 GB, free: 8.488 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002841/0.7387, allocations: 1.258 MB / 0.7156 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 8.177e-05/0.7388, allocations: 11.97 kB / 0.7156 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.7398, allocations: 199.4 kB / 0.7158 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.7411, allocations: 0.7548 MB / 0.7165 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.7412, allocations: 66 kB / 0.7166 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001388/0.7414, allocations: 88 kB / 0.7167 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.7432, allocations: 0.9729 MB / 0.7176 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.7432, allocations: 0 / 0.7176 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/0.7433, allocations: 44 kB / 0.7177 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.118e-05/0.7433, allocations: 20 kB / 0.7177 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002078/0.7454, allocations: 1.171 MB / 0.7189 GB, free: 3.781 MB / 0.5294 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.004954/0.7504, allocations: 2.911 MB / 0.7217 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.7521, allocations: 0.845 MB / 0.7225 GB, free: 15.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000622/0.7527, allocations: 332.2 kB / 0.7228 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.7528, allocations: 40.5 kB / 0.7229 GB, free: 15.54 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001093/0.7539, allocations: 0.5315 MB / 0.7234 GB, free: 14.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 3.497e-06/0.7539, allocations: 0 / 0.7234 GB, free: 14.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.003581/0.7575, allocations: 1.313 MB / 0.7247 GB, free: 13.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.7577, allocations: 188.9 kB / 0.7249 GB, free: 13.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008896/0.7585, allocations: 0.6605 MB / 0.7255 GB, free: 12.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-05/0.7586, allocations: 45.7 kB / 0.7255 GB, free: 12.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003568/0.759, allocations: 404.4 kB / 0.7259 GB, free: 12.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.7593, allocations: 283.9 kB / 0.7262 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.7594, allocations: 77.67 kB / 0.7263 GB, free: 11.94 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002129/0.7596, allocations: 390.8 kB / 0.7266 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005902/0.7602, allocations: 297.8 kB / 0.7269 GB, free: 11.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/0.7609, allocations: 395.1 kB / 0.7273 GB, free: 10.86 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.7621, allocations: 0.6711 MB / 0.728 GB, free: 10.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.7621, allocations: 0 / 0.728 GB, free: 10.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002094/0.7642, allocations: 0.9268 MB / 0.7289 GB, free: 9.234 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.7643, allocations: 7.938 kB / 0.7289 GB, free: 9.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.7643, allocations: 4.062 kB / 0.7289 GB, free: 9.223 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/0.7649, allocations: 80.72 kB / 0.729 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007295/0.7656, allocations: 183.8 kB / 0.7291 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002156/0.7678, allocations: 1.531 MB / 0.7306 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009016/0.7687, allocations: 112.9 kB / 0.7307 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.637e-05/0.7688, allocations: 39.97 kB / 0.7308 GB, free: 7.141 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * 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.0005743/0.7694, allocations: 283.9 kB / 0.731 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.7695, allocations: 86.88 kB / 0.7311 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.7721, allocations: 1.165 MB / 0.7323 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/0.7722, allocations: 16 kB / 0.7323 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7722, allocations: 4 kB / 0.7323 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.7722, allocations: 7.922 kB / 0.7323 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.7735, allocations: 0.9394 MB / 0.7332 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.7735, allocations: 0 / 0.7332 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006135/0.7741, allocations: 155.8 kB / 0.7334 GB, free: 4.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005308/0.7747, allocations: 88.7 kB / 0.7334 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-05/0.7747, allocations: 27.98 kB / 0.7335 GB, free: 4.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/0.7766, allocations: 1.555 MB / 0.735 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7766, allocations: 0 / 0.735 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/0.7787, allocations: 1.002 MB / 0.736 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/0.7792, allocations: 299.5 kB / 0.7363 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.7793, allocations: 24 kB / 0.7363 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006909/0.78, allocations: 98.23 kB / 0.7364 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.7802, allocations: 76.88 kB / 0.7364 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.7803, allocations: 39.98 kB / 0.7365 GB, free: 1.043 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006666/0.781, allocations: 475 kB / 0.7369 GB, free: 0.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.781, allocations: 0 / 0.7369 GB, free: 0.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009509/0.7819, allocations: 339.2 kB / 0.7373 GB, free: 256 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001425/0.7834, allocations: 0.6132 MB / 0.7379 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001836/0.7852, allocations: 0.8938 MB / 0.7387 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.7852, allocations: 0 / 0.7387 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009496/0.7862, allocations: 0.5471 MB / 0.7393 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.7875, allocations: 289.7 kB / 0.7395 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/0.7908, allocations: 2.19 MB / 0.7417 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.7915, allocations: 1.04 MB / 0.7427 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008765/0.7924, allocations: 271.2 kB / 0.743 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002829/0.7927, allocations: 111.4 kB / 0.7431 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/0.7927, allocations: 0 / 0.7431 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.02736/0.82, allocations: 15.12 MB / 0.7578 GB, free: 11.49 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)