Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001507/0.001507, 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.001443/0.001443, allocations: 196.8 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 282.7 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 178.6 MB / 0.5072 GB, free: 4.574 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002712/0.002713, allocations: 95.27 kB / 0.6064 GB, free: 24.72 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1775, allocations: 89.15 MB / 0.6935 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006888/0.1844, allocations: 4.791 MB / 0.6982 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5517/0.7362, allocations: 150.6 MB / 0.8452 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.7375, allocations: 14.94 kB / 0.8452 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009172/0.7384, allocations: 196.5 kB / 0.8454 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.7411, allocations: 0.5367 MB / 0.8459 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.744, allocations: 0.8156 MB / 0.8467 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002213/0.7462, allocations: 1.361 MB / 0.8481 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.7475, allocations: 0.5678 MB / 0.8486 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009999/0.7485, allocations: 473.8 kB / 0.8491 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.7496, allocations: 0.4965 MB / 0.8496 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003319/0.75, allocations: 115.1 kB / 0.8497 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.7513, allocations: 456 kB / 0.8501 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005204/0.7518, allocations: 288.7 kB / 0.8504 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0009123/0.7527, allocations: 0.5533 MB / 0.8509 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.755, allocations: 1.567 MB / 0.8524 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.755, allocations: 0 / 0.8524 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.755, allocations: 0 / 0.8524 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.7551, allocations: 0 / 0.8524 GB, free: 2.555 MB / 0.5762 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.002596/0.7577, allocations: 1.412 MB / 0.8538 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.7577, allocations: 9.969 kB / 0.8538 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009141/0.7586, allocations: 184.9 kB / 0.854 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00112/0.7598, allocations: 0.7377 MB / 0.8547 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.322e-05/0.7598, allocations: 58.66 kB / 0.8548 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.7599, allocations: 76.94 kB / 0.8549 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001527/0.7615, allocations: 0.9084 MB / 0.8558 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.7615, allocations: 0 / 0.8558 GB, free: 112 kB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-05/0.7616, allocations: 39.5 kB / 0.8558 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.7616, allocations: 19.88 kB / 0.8558 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.7634, allocations: 1.097 MB / 0.8569 GB, free: 15.55 MB / 0.5919 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.00426/0.7677, allocations: 2.682 MB / 0.8595 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.7692, allocations: 0.8647 MB / 0.8603 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.7698, allocations: 302 kB / 0.8606 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.784e-05/0.7699, allocations: 35.59 kB / 0.8607 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009433/0.7708, allocations: 497.5 kB / 0.8611 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 3.236e-06/0.7708, allocations: 0 / 0.8611 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.003202/0.774, allocations: 1.182 MB / 0.8623 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.7742, allocations: 188.4 kB / 0.8625 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.7752, allocations: 0.629 MB / 0.8631 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.429e-05/0.7753, allocations: 42.17 kB / 0.8631 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.7758, allocations: 381.9 kB / 0.8635 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.7761, allocations: 256.9 kB / 0.8637 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/0.7764, allocations: 169.9 kB / 0.8639 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002785/0.7767, allocations: 384.6 kB / 0.8643 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006182/0.7773, allocations: 260.6 kB / 0.8645 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000801/0.7781, allocations: 354.9 kB / 0.8649 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.7794, allocations: 0.6049 MB / 0.8654 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.7794, allocations: 2.906 kB / 0.8654 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00205/0.7815, allocations: 0.8425 MB / 0.8663 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.7815, allocations: 5.656 kB / 0.8663 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.7815, allocations: 0 / 0.8663 GB, free: 9.027 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/0.7822, allocations: 82.22 kB / 0.8664 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006569/0.7828, allocations: 161.8 kB / 0.8665 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.7857, allocations: 1.635 MB / 0.8681 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/0.7866, allocations: 87.94 kB / 0.8682 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.92e-05/0.7867, allocations: 38.22 kB / 0.8682 GB, free: 7.262 MB / 0.5919 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.0006976/0.7874, allocations: 268.5 kB / 0.8685 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.7876, allocations: 87.16 kB / 0.8686 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002601/0.7902, allocations: 1.05 MB / 0.8696 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.7902, allocations: 9.594 kB / 0.8696 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.7902, allocations: 0 / 0.8696 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.7902, allocations: 4.031 kB / 0.8696 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/0.7941, allocations: 1.913 MB / 0.8715 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7941, allocations: 0 / 0.8715 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.7947, allocations: 139.8 kB / 0.8716 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005515/0.7952, allocations: 72.73 kB / 0.8717 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-05/0.7953, allocations: 27.97 kB / 0.8717 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002097/0.7974, allocations: 1.65 MB / 0.8733 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.7974, allocations: 3.938 kB / 0.8733 GB, free: 2.562 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002176/0.7996, allocations: 0.9843 MB / 0.8743 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/0.8001, allocations: 271.8 kB / 0.8745 GB, free: 1.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.8002, allocations: 23.94 kB / 0.8746 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006316/0.8008, allocations: 60.78 kB / 0.8746 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.801, allocations: 72.89 kB / 0.8747 GB, free: 1.117 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.979e-05/0.8011, allocations: 35.92 kB / 0.8747 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006531/0.8017, allocations: 451 kB / 0.8751 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8018, allocations: 0 / 0.8751 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009925/0.8028, allocations: 319.3 kB / 0.8755 GB, free: 340 kB / 0.5919 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.002173/0.8049, allocations: 0.614 MB / 0.8761 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002792/0.8077, allocations: 1.016 MB / 0.877 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.8078, allocations: 4 kB / 0.877 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009556/0.8087, allocations: 0.5119 MB / 0.8775 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.8101, allocations: 300 kB / 0.8778 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003138/0.8132, allocations: 1.642 MB / 0.8794 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000698/0.8139, allocations: 1.019 MB / 0.8804 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008704/0.8148, allocations: 258.6 kB / 0.8807 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.8151, allocations: 99.39 kB / 0.8808 GB, free: 11 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.8151, allocations: 0 / 0.8808 GB, free: 11 MB / 0.6075 GB Notification: Performance of Templates: time 0.03345/0.8485, allocations: 14.96 MB / 0.8954 GB, free: 12.26 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)