Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, 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.001198/0.001198, allocations: 194.7 kB / 16.53 MB, free: 6.699 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.406/1.406, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002539/0.002539, allocations: 275 kB / 290.7 MB, free: 1.996 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.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004707/0.004707, allocations: 99.95 kB / 0.6066 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2043, allocations: 89.14 MB / 0.6936 GB, free: 4.199 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007036/0.2114, allocations: 4.924 MB / 0.6984 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4059/0.6173, allocations: 150.6 MB / 0.8455 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006247/0.618, allocations: 16.31 kB / 0.8455 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.6185, allocations: 194.7 kB / 0.8457 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.62, allocations: 0.5553 MB / 0.8462 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001774/0.6218, allocations: 0.839 MB / 0.8471 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001301/0.6231, allocations: 1.416 MB / 0.8484 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007948/0.6239, allocations: 0.5893 MB / 0.849 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.6245, allocations: 0.4965 MB / 0.8495 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005909/0.6251, allocations: 0.5159 MB / 0.85 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.6252, allocations: 118.4 kB / 0.8501 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006264/0.6259, allocations: 464.7 kB / 0.8506 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002971/0.6262, allocations: 306.9 kB / 0.8509 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005182/0.6267, allocations: 0.5733 MB / 0.8514 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001557/0.6283, allocations: 1.617 MB / 0.853 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6283, allocations: 2.5 kB / 0.853 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.196e-06/0.6283, allocations: 0 / 0.853 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.6283, allocations: 7.938 kB / 0.853 GB, free: 2.113 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002619/0.6309, allocations: 1.459 MB / 0.8544 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.631, allocations: 9.938 kB / 0.8544 GB, free: 0.9688 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001778/0.6311, allocations: 145.2 kB / 0.8546 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000918/0.6321, allocations: 193.3 kB / 0.8548 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/0.6331, allocations: 0.7551 MB / 0.8555 GB, free: 136 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.6332, allocations: 66.06 kB / 0.8556 GB, free: 108 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.6333, allocations: 82.78 kB / 0.8556 GB, free: 80 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6349, allocations: 0.937 MB / 0.8566 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.6349, allocations: 0 / 0.8566 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.635, allocations: 41.83 kB / 0.8566 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.635, allocations: 20.38 kB / 0.8566 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.6368, allocations: 1.126 MB / 0.8577 GB, free: 14.9 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.00405/0.6409, allocations: 2.764 MB / 0.8604 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.6425, allocations: 0.9051 MB / 0.8613 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005706/0.6431, allocations: 314.3 kB / 0.8616 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/0.6432, allocations: 32.31 kB / 0.8616 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009355/0.6441, allocations: 0.5203 MB / 0.8621 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=84): time 2.063e-06/0.6441, allocations: 0 / 0.8621 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.003355/0.6475, allocations: 1.257 MB / 0.8634 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.6476, allocations: 188.4 kB / 0.8636 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.6484, allocations: 0.6375 MB / 0.8642 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.25e-05/0.6484, allocations: 46.59 kB / 0.8642 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.6488, allocations: 395.6 kB / 0.8646 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.649, allocations: 269.6 kB / 0.8649 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002393/0.6493, allocations: 152 kB / 0.865 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002073/0.6495, allocations: 400 kB / 0.8654 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.65, allocations: 255.9 kB / 0.8656 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/0.6507, allocations: 365.1 kB / 0.866 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.6518, allocations: 0.6027 MB / 0.8666 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6519, allocations: 2.562 kB / 0.8666 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001954/0.6538, allocations: 0.8232 MB / 0.8674 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.6538, allocations: 5.594 kB / 0.8674 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.6539, allocations: 6.312 kB / 0.8674 GB, free: 8.203 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.6545, allocations: 87.2 kB / 0.8675 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006633/0.6551, allocations: 164.6 kB / 0.8676 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.6574, allocations: 1.636 MB / 0.8692 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.6581, allocations: 92.06 kB / 0.8693 GB, free: 6.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.6582, allocations: 32.41 kB / 0.8693 GB, free: 6.434 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: 18 (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 (91): * Single equations (assignments): 90 * 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.0003717/0.6585, allocations: 272.2 kB / 0.8696 GB, free: 6.219 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/0.6587, allocations: 83.59 kB / 0.8697 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.6614, allocations: 1.143 MB / 0.8708 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.6614, allocations: 11.94 kB / 0.8708 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6614, allocations: 0 / 0.8708 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.6614, allocations: 7.922 kB / 0.8708 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003633/0.6651, allocations: 2.023 MB / 0.8728 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.6651, allocations: 0 / 0.8728 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006572/0.6658, allocations: 167.7 kB / 0.8729 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/0.6662, allocations: 64.8 kB / 0.873 GB, free: 3.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/0.6663, allocations: 27.97 kB / 0.873 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.6685, allocations: 1.662 MB / 0.8747 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6685, allocations: 0 / 0.8747 GB, free: 1.184 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00227/0.6708, allocations: 1.043 MB / 0.8757 GB, free: 124 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.6712, allocations: 283.8 kB / 0.8759 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/0.6713, allocations: 24 kB / 0.876 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007341/0.672, allocations: 66.03 kB / 0.876 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.6722, allocations: 80.95 kB / 0.8761 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.6723, allocations: 39.98 kB / 0.8761 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006128/0.6729, allocations: 467 kB / 0.8766 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6729, allocations: 4 kB / 0.8766 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008048/0.6737, allocations: 319.3 kB / 0.8769 GB, free: 14.86 MB / 0.6075 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.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 (99): * Single equations (assignments): 92 * 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.00442/0.6782, allocations: 2.114 MB / 0.879 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002597/0.6808, allocations: 1.047 MB / 0.88 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6808, allocations: 8.125 kB / 0.88 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/0.6819, allocations: 0.5315 MB / 0.8805 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.6832, allocations: 317.9 kB / 0.8808 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.6942, allocations: 6.607 MB / 0.8873 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007217/0.695, allocations: 1.032 MB / 0.8883 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008341/0.6958, allocations: 274.8 kB / 0.8885 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/0.6964, allocations: 411.3 kB / 0.8889 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of SimCode: time 3e-07/0.6964, allocations: 0 / 0.8889 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05704/0.7535, allocations: 22.02 MB / 0.9104 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.71, allocations: 6.625 kB / 0.9104 GB, free: 12.89 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)