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.004728/0.004728, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.00129/0.00129, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002473/0.002473, allocations: 283 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 102.2 kB / 0.6943 GB, free: 3.621 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4187, allocations: 89.14 MB / 0.7813 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006456/0.4252, allocations: 4.794 MB / 0.786 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1733/0.5986, allocations: 150.6 MB / 0.9331 GB, free: 3.344 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008974/0.5995, allocations: 15.94 kB / 0.9331 GB, free: 3.328 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.6002, allocations: 190.2 kB / 0.9333 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001917/0.6022, allocations: 0.5311 MB / 0.9338 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.6044, allocations: 0.8321 MB / 0.9346 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.6062, allocations: 1.359 MB / 0.9359 GB, free: 424 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009283/0.6071, allocations: 0.5791 MB / 0.9365 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.6079, allocations: 486.4 kB / 0.9369 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006686/0.6086, allocations: 497.8 kB / 0.9374 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.6088, allocations: 112 kB / 0.9375 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.6098, allocations: 491.5 kB / 0.938 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003155/0.6102, allocations: 283.1 kB / 0.9383 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005897/0.6108, allocations: 0.5519 MB / 0.9388 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.613, allocations: 1.62 MB / 0.9404 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6131, allocations: 0 / 0.9404 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.813e-06/0.6131, allocations: 0 / 0.9404 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.6131, allocations: 4 kB / 0.9404 GB, free: 11.79 MB / 0.7012 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.002784/0.6159, allocations: 1.452 MB / 0.9418 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.6159, allocations: 12.03 kB / 0.9418 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001587/0.6161, allocations: 131.3 kB / 0.9419 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009394/0.6171, allocations: 192.1 kB / 0.9421 GB, free: 9.953 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.6183, allocations: 0.7621 MB / 0.9429 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.426e-05/0.6184, allocations: 62 kB / 0.9429 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.6185, allocations: 80 kB / 0.943 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.6202, allocations: 0.9027 MB / 0.9439 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.6202, allocations: 0 / 0.9439 GB, free: 8.07 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.491e-05/0.6203, allocations: 39.94 kB / 0.9439 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.336e-05/0.6203, allocations: 20 kB / 0.9439 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/0.6222, allocations: 1.1 MB / 0.945 GB, free: 6.91 MB / 0.7012 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.004194/0.6264, allocations: 2.657 MB / 0.9476 GB, free: 4.141 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.628, allocations: 0.8691 MB / 0.9485 GB, free: 3.246 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005544/0.6286, allocations: 294.7 kB / 0.9487 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.071e-05/0.6287, allocations: 36.55 kB / 0.9488 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000891/0.6296, allocations: 487.3 kB / 0.9492 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=79): time 2.264e-06/0.6296, allocations: 4 kB / 0.9493 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of matching and sorting (n=79): time 0.003254/0.6329, allocations: 1.182 MB / 0.9504 GB, free: 1.211 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.633, allocations: 192.6 kB / 0.9506 GB, free: 0.9805 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008312/0.6338, allocations: 0.6253 MB / 0.9512 GB, free: 352 kB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.115e-05/0.6339, allocations: 45.7 kB / 0.9512 GB, free: 300 kB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003571/0.6343, allocations: 393.2 kB / 0.9516 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.6345, allocations: 265.7 kB / 0.9519 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.6348, allocations: 142.6 kB / 0.952 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.635, allocations: 390.5 kB / 0.9524 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005085/0.6355, allocations: 241.9 kB / 0.9526 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/0.6361, allocations: 358.4 kB / 0.953 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6373, allocations: 0.576 MB / 0.9535 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6373, allocations: 0 / 0.9535 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001935/0.6392, allocations: 0.7946 MB / 0.9543 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6393, allocations: 11.94 kB / 0.9543 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6393, allocations: 0 / 0.9543 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006014/0.6399, allocations: 88.86 kB / 0.9544 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.6405, allocations: 155.7 kB / 0.9545 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/0.6428, allocations: 1.625 MB / 0.9561 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000658/0.6435, allocations: 95.56 kB / 0.9562 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.6436, allocations: 31.97 kB / 0.9562 GB, free: 10.95 MB / 0.7169 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.0004297/0.644, allocations: 257.6 kB / 0.9565 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.6442, allocations: 79.48 kB / 0.9566 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.6466, allocations: 1.054 MB / 0.9576 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.6466, allocations: 12 kB / 0.9576 GB, free: 9.531 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.6467, allocations: 7.938 kB / 0.9576 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.799e-06/0.6467, allocations: 3.984 kB / 0.9576 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.65, allocations: 1.908 MB / 0.9595 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.65, allocations: 0 / 0.9595 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005645/0.6506, allocations: 143.8 kB / 0.9596 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000455/0.651, allocations: 76.77 kB / 0.9597 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.824e-05/0.6511, allocations: 27.92 kB / 0.9597 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.6531, allocations: 1.662 MB / 0.9613 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6532, allocations: 4.062 kB / 0.9613 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002111/0.6553, allocations: 0.9867 MB / 0.9623 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/0.6557, allocations: 272.2 kB / 0.9626 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.6558, allocations: 20 kB / 0.9626 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.6564, allocations: 61.95 kB / 0.9626 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.6566, allocations: 64.91 kB / 0.9627 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/0.6567, allocations: 43.97 kB / 0.9628 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005964/0.6573, allocations: 451 kB / 0.9632 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6573, allocations: 0 / 0.9632 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008555/0.6582, allocations: 327.1 kB / 0.9635 GB, free: 3.262 MB / 0.7169 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.004193/0.6624, allocations: 2.04 MB / 0.9655 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.6642, allocations: 0.7883 MB / 0.9663 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.6642, allocations: 0 / 0.9663 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.6653, allocations: 0.5121 MB / 0.9668 GB, free: 52 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.6668, allocations: 311.2 kB / 0.9671 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/0.6778, allocations: 6.159 MB / 0.9731 GB, free: 9.508 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.6786, allocations: 1.019 MB / 0.9741 GB, free: 8.465 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008532/0.6794, allocations: 266.5 kB / 0.9743 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005843/0.68, allocations: 379.3 kB / 0.9747 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of SimCode: time 8.72e-07/0.68, allocations: 0 / 0.9747 GB, free: 7.828 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0606/0.7407, allocations: 21.34 MB / 0.9955 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.63/13.38, allocations: 10.19 kB / 0.9955 GB, free: 2.871 MB / 0.7481 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)