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: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001325/0.001325, 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.001372/0.001372, allocations: 196 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.419/1.419, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002556/0.002556, allocations: 290.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.087/1.087, allocations: 178.6 MB / 0.5073 GB, free: 4.598 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002798/0.002798, allocations: 101 kB / 0.6065 GB, free: 24.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1628, allocations: 89.14 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006715/0.1695, allocations: 4.79 MB / 0.6983 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4265/0.596, allocations: 150.6 MB / 0.8453 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007087/0.5968, allocations: 20.38 kB / 0.8453 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005383/0.5973, allocations: 189.9 kB / 0.8455 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001581/0.5989, allocations: 0.5362 MB / 0.846 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.6008, allocations: 0.831 MB / 0.8469 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.6021, allocations: 1.354 MB / 0.8482 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008057/0.6029, allocations: 0.5753 MB / 0.8487 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005309/0.6034, allocations: 476.2 kB / 0.8492 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005727/0.604, allocations: 0.4891 MB / 0.8497 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.6042, allocations: 112.9 kB / 0.8498 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000718/0.6049, allocations: 460.8 kB / 0.8502 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002872/0.6052, allocations: 293 kB / 0.8505 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005153/0.6057, allocations: 0.5471 MB / 0.851 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001603/0.6073, allocations: 1.571 MB / 0.8526 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.6073, allocations: 2.938 kB / 0.8526 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6073, allocations: 3.938 kB / 0.8526 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.6073, allocations: 0 / 0.8526 GB, free: 2.48 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.002499/0.6099, allocations: 1.414 MB / 0.854 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.6099, allocations: 9.844 kB / 0.854 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001665/0.6101, allocations: 132.6 kB / 0.8541 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009111/0.611, allocations: 187.1 kB / 0.8543 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.6121, allocations: 0.7334 MB / 0.855 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.6121, allocations: 62.38 kB / 0.855 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.797e-05/0.6122, allocations: 77.31 kB / 0.8551 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/0.6137, allocations: 0.9021 MB / 0.856 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.6137, allocations: 2 kB / 0.856 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/0.6138, allocations: 44.05 kB / 0.856 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.6139, allocations: 21.31 kB / 0.8561 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001693/0.6156, allocations: 1.097 MB / 0.8571 GB, free: 15.37 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.003874/0.6194, allocations: 2.687 MB / 0.8598 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.6209, allocations: 0.8626 MB / 0.8606 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.6215, allocations: 303.4 kB / 0.8609 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.199e-05/0.6216, allocations: 31.23 kB / 0.8609 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008823/0.6224, allocations: 498.6 kB / 0.8614 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 2.064e-06/0.6225, allocations: 0 / 0.8614 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.003126/0.6256, allocations: 1.187 MB / 0.8626 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.6257, allocations: 190.7 kB / 0.8627 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.6264, allocations: 0.6207 MB / 0.8633 GB, free: 11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.6265, allocations: 42.95 kB / 0.8634 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.6268, allocations: 388.5 kB / 0.8638 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000219/0.6271, allocations: 250.8 kB / 0.864 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.6273, allocations: 153.4 kB / 0.8641 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.6275, allocations: 387.9 kB / 0.8645 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004936/0.628, allocations: 238.4 kB / 0.8647 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.6286, allocations: 356.9 kB / 0.8651 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.6297, allocations: 0.571 MB / 0.8656 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6297, allocations: 0 / 0.8656 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001823/0.6315, allocations: 0.7894 MB / 0.8664 GB, free: 8.875 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.6316, allocations: 8.969 kB / 0.8664 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.6316, allocations: 2.625 kB / 0.8664 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.6322, allocations: 87.45 kB / 0.8665 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005894/0.6328, allocations: 151.7 kB / 0.8666 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002204/0.635, allocations: 1.629 MB / 0.8682 GB, free: 7.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.6356, allocations: 85.84 kB / 0.8683 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/0.6357, allocations: 33.14 kB / 0.8683 GB, free: 7.113 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: 15 (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 (85): * Single equations (assignments): 84 * 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.0003567/0.636, allocations: 266.3 kB / 0.8686 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.6362, allocations: 83.19 kB / 0.8687 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.6386, allocations: 1.049 MB / 0.8697 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.6386, allocations: 10.41 kB / 0.8697 GB, free: 6.277 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.6386, allocations: 7.938 kB / 0.8697 GB, free: 6.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.6386, allocations: 3.984 kB / 0.8697 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003281/0.6419, allocations: 1.916 MB / 0.8716 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6419, allocations: 0 / 0.8716 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005808/0.6425, allocations: 139.8 kB / 0.8717 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/0.643, allocations: 76.77 kB / 0.8718 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.643, allocations: 23.98 kB / 0.8718 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0021/0.6451, allocations: 1.654 MB / 0.8734 GB, free: 2.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.6452, allocations: 3.938 kB / 0.8734 GB, free: 2.484 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.6473, allocations: 0.9844 MB / 0.8744 GB, free: 1.48 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.6476, allocations: 272.4 kB / 0.8747 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/0.6478, allocations: 27.98 kB / 0.8747 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006685/0.6485, allocations: 56.78 kB / 0.8747 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.6486, allocations: 68.89 kB / 0.8748 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.472e-05/0.6487, allocations: 35.98 kB / 0.8748 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005903/0.6493, allocations: 459 kB / 0.8753 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6493, allocations: 0 / 0.8753 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008145/0.6501, allocations: 315.2 kB / 0.8756 GB, free: 260 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.004233/0.6544, allocations: 2.031 MB / 0.8776 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.6568, allocations: 0.9883 MB / 0.8785 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6568, allocations: 4 kB / 0.8785 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009895/0.6578, allocations: 0.5044 MB / 0.879 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.6591, allocations: 312.6 kB / 0.8793 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/0.6695, allocations: 6.341 MB / 0.8855 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000707/0.6702, allocations: 1.019 MB / 0.8865 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000816/0.6711, allocations: 254.6 kB / 0.8868 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005569/0.6716, allocations: 379.3 kB / 0.8871 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of SimCode: time 3.9e-07/0.6716, allocations: 0 / 0.8871 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05578/0.7274, allocations: 21.14 MB / 0.9078 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.04/12.77, allocations: 14.52 kB / 0.9078 GB, free: 15.74 MB / 0.6387 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)