Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008207/0.0008208, allocations: 89.39 kB / 16.67 MB, free: 6.594 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.0008577/0.0008579, allocations: 183 kB / 17.58 MB, free: 6.188 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.355/1.355, allocations: 223.3 MB / 241.6 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7282/0.7282, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3997, allocations: 77.52 MB / 0.5606 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004939/0.4047, allocations: 4.352 MB / 0.5648 GB, free: 32.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.166/0.5707, allocations: 146.7 MB / 0.7081 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000941/0.5716, allocations: 15.88 kB / 0.7081 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006109/0.5723, allocations: 150.8 kB / 0.7082 GB, free: 11.73 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.574, allocations: 469.5 kB / 0.7087 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.5759, allocations: 0.7212 MB / 0.7094 GB, free: 10.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.5775, allocations: 1.265 MB / 0.7106 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008359/0.5784, allocations: 0.5438 MB / 0.7112 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.579, allocations: 342.4 kB / 0.7115 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004916/0.5795, allocations: 377.9 kB / 0.7118 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.687e-05/0.5795, allocations: 24 kB / 0.7119 GB, free: 7.992 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008737/0.5804, allocations: 371.6 kB / 0.7122 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.5806, allocations: 191.1 kB / 0.7124 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.5811, allocations: 462.9 kB / 0.7129 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.5824, allocations: 1.149 MB / 0.714 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5824, allocations: 4 kB / 0.714 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5824, allocations: 0 / 0.714 GB, free: 5.824 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.347e-05/0.5824, allocations: 0 / 0.714 GB, free: 5.824 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002391/0.5848, allocations: 1.212 MB / 0.7152 GB, free: 4.566 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.5849, allocations: 12.03 kB / 0.7152 GB, free: 4.555 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009325/0.5858, allocations: 191.4 kB / 0.7154 GB, free: 4.367 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.587, allocations: 0.7344 MB / 0.7161 GB, free: 3.586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.587, allocations: 62 kB / 0.7161 GB, free: 3.527 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.5872, allocations: 79.98 kB / 0.7162 GB, free: 3.449 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001624/0.5888, allocations: 0.9067 MB / 0.7171 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.5888, allocations: 3.938 kB / 0.7171 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-05/0.5889, allocations: 43.94 kB / 0.7171 GB, free: 2.453 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.5889, allocations: 20 kB / 0.7172 GB, free: 2.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/0.5907, allocations: 1.1 MB / 0.7182 GB, free: 1.336 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.004355/0.5951, allocations: 2.706 MB / 0.7209 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.5967, allocations: 0.8794 MB / 0.7217 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005502/0.5973, allocations: 313.2 kB / 0.722 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.972e-05/0.5974, allocations: 32.55 kB / 0.7221 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008971/0.5983, allocations: 495.1 kB / 0.7225 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=79): time 2.384e-06/0.5983, allocations: 0 / 0.7225 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=79): time 0.003332/0.6016, allocations: 1.201 MB / 0.7237 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001249/0.6018, allocations: 188.6 kB / 0.7239 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008947/0.6027, allocations: 0.6215 MB / 0.7245 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-05/0.6028, allocations: 41.7 kB / 0.7245 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.6031, allocations: 388.3 kB / 0.7249 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.6033, allocations: 260.3 kB / 0.7252 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.473e-05/0.6034, allocations: 69.69 kB / 0.7252 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.6036, allocations: 386.7 kB / 0.7256 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005312/0.6042, allocations: 265.9 kB / 0.7258 GB, free: 9.27 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.6048, allocations: 371.1 kB / 0.7262 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.6059, allocations: 0.6033 MB / 0.7268 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.6059, allocations: 0 / 0.7268 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001939/0.6078, allocations: 0.8448 MB / 0.7276 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.6079, allocations: 8 kB / 0.7276 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6079, allocations: 0 / 0.7276 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006142/0.6085, allocations: 84.86 kB / 0.7277 GB, free: 7.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.6092, allocations: 163.7 kB / 0.7279 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.6114, allocations: 1.52 MB / 0.7293 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000861/0.6122, allocations: 111.3 kB / 0.7294 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.362e-05/0.6123, allocations: 31.97 kB / 0.7295 GB, free: 5.363 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0004969/0.6128, allocations: 263.4 kB / 0.7297 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.613, allocations: 83 kB / 0.7298 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.6154, allocations: 1.065 MB / 0.7308 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.6154, allocations: 8 kB / 0.7309 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.6154, allocations: 4 kB / 0.7309 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.6154, allocations: 7.984 kB / 0.7309 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003275/0.6187, allocations: 1.907 MB / 0.7327 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.6187, allocations: 0 / 0.7327 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005725/0.6193, allocations: 151.7 kB / 0.7329 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005536/0.6199, allocations: 92.66 kB / 0.733 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.757e-05/0.6199, allocations: 27.97 kB / 0.733 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.6219, allocations: 1.54 MB / 0.7345 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6219, allocations: 0 / 0.7345 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.624, allocations: 0.996 MB / 0.7355 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004835/0.6245, allocations: 283.7 kB / 0.7357 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.6246, allocations: 19.98 kB / 0.7358 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/0.6253, allocations: 81.03 kB / 0.7358 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.6255, allocations: 72.83 kB / 0.7359 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/0.6256, allocations: 31.98 kB / 0.7359 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005999/0.6262, allocations: 455 kB / 0.7364 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6262, allocations: 0 / 0.7364 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009441/0.6271, allocations: 327.2 kB / 0.7367 GB, free: 13.72 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001426/0.6286, allocations: 0.5965 MB / 0.7373 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00182/0.6304, allocations: 0.8275 MB / 0.7381 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.6304, allocations: 4 kB / 0.7381 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009497/0.6314, allocations: 0.5042 MB / 0.7386 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00147/0.6329, allocations: 282 kB / 0.7388 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003355/0.6362, allocations: 2.094 MB / 0.7409 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.6369, allocations: 1.012 MB / 0.7419 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.6373, allocations: 115.4 kB / 0.742 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of SimCode: time 7.32e-07/0.6373, allocations: 4 kB / 0.742 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of Templates: time 0.3223/0.9595, allocations: 18.08 MB / 0.7596 GB, free: 170.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)