Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.001071/0.001075, 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.001081/0.001081, allocations: 192.7 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002069/0.002069, allocations: 274.6 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9359/0.9359, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 95.09 kB / 0.5953 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1374, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005814/0.1433, allocations: 4.493 MB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4211/0.5644, allocations: 150.7 MB / 0.8318 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006365/0.5651, allocations: 20.44 kB / 0.8318 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.5655, allocations: 175.3 kB / 0.832 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001289/0.5669, allocations: 0.5222 MB / 0.8325 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.5685, allocations: 0.8713 MB / 0.8334 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.5695, allocations: 1.379 MB / 0.8347 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007445/0.5703, allocations: 0.6391 MB / 0.8353 GB, free: 0.5273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004883/0.5708, allocations: 0.4962 MB / 0.8358 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.5713, allocations: 0.528 MB / 0.8363 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/0.5715, allocations: 122 kB / 0.8365 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008197/0.5723, allocations: 487.6 kB / 0.8369 GB, free: 304 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.5725, allocations: 316 kB / 0.8372 GB, free: 256 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003722/0.5729, allocations: 0.5706 MB / 0.8378 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.5743, allocations: 1.659 MB / 0.8394 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5743, allocations: 0 / 0.8394 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5744, allocations: 4 kB / 0.8394 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.5744, allocations: 0 / 0.8394 GB, free: 15.82 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002568/0.5769, allocations: 1.485 MB / 0.8408 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.577, allocations: 10 kB / 0.8409 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001562/0.5772, allocations: 139.6 kB / 0.841 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009272/0.5781, allocations: 196.5 kB / 0.8412 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009868/0.5791, allocations: 0.7687 MB / 0.8419 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.5791, allocations: 65.06 kB / 0.842 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.5793, allocations: 89.06 kB / 0.8421 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5808, allocations: 0.9765 MB / 0.843 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5809, allocations: 1.312 kB / 0.843 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/0.581, allocations: 44.73 kB / 0.8431 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.909e-05/0.581, allocations: 25.69 kB / 0.8431 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001734/0.5827, allocations: 1.154 MB / 0.8442 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004029/0.5868, allocations: 2.711 MB / 0.8469 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.5888, allocations: 0.9783 MB / 0.8478 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005586/0.5894, allocations: 332.9 kB / 0.8481 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.931e-05/0.5895, allocations: 32.45 kB / 0.8482 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009452/0.5904, allocations: 0.5336 MB / 0.8487 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.514e-06/0.5904, allocations: 0 / 0.8487 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.00327/0.5937, allocations: 1.291 MB / 0.85 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.452e-05/0.5938, allocations: 195 kB / 0.8501 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007977/0.5946, allocations: 0.6509 MB / 0.8508 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.525e-05/0.5947, allocations: 47.28 kB / 0.8508 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.595, allocations: 406.6 kB / 0.8512 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.5952, allocations: 278.9 kB / 0.8515 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002439/0.5955, allocations: 162.3 kB / 0.8516 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.5957, allocations: 392.2 kB / 0.852 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/0.5962, allocations: 267 kB / 0.8523 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006216/0.5968, allocations: 390.9 kB / 0.8526 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.5979, allocations: 0.6272 MB / 0.8532 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5979, allocations: 1.406 kB / 0.8532 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001927/0.5999, allocations: 0.8629 MB / 0.8541 GB, free: 6.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.5999, allocations: 11.48 kB / 0.8541 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5999, allocations: 0 / 0.8541 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006004/0.6005, allocations: 89.69 kB / 0.8542 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006496/0.6012, allocations: 162.9 kB / 0.8543 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.6032, allocations: 1.631 MB / 0.8559 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007774/0.604, allocations: 108.2 kB / 0.856 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.6041, allocations: 38.81 kB / 0.8561 GB, free: 5.055 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 19 (solAzi.outsidePolarCircle,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 (96): * Single equations (assignments): 95 * 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.0004066/0.6045, allocations: 271 kB / 0.8563 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.6046, allocations: 89.62 kB / 0.8564 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.6072, allocations: 1.201 MB / 0.8576 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.6073, allocations: 9.531 kB / 0.8576 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6073, allocations: 0 / 0.8576 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.6073, allocations: 7.969 kB / 0.8576 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003293/0.6106, allocations: 2.109 MB / 0.8597 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.6106, allocations: 4 kB / 0.8597 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.6112, allocations: 164.2 kB / 0.8598 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000442/0.6117, allocations: 70.67 kB / 0.8599 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.6117, allocations: 31.47 kB / 0.8599 GB, free: 2.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/0.6136, allocations: 1.669 MB / 0.8616 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6136, allocations: 0 / 0.8616 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002068/0.6157, allocations: 1.096 MB / 0.8626 GB, free: 456 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003643/0.616, allocations: 287.9 kB / 0.8629 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.6162, allocations: 21.23 kB / 0.8629 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007166/0.6169, allocations: 71.14 kB / 0.863 GB, free: 148 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.6171, allocations: 78.58 kB / 0.8631 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.365e-05/0.6171, allocations: 48.75 kB / 0.8631 GB, free: 84 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005793/0.6177, allocations: 476.5 kB / 0.8636 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6177, allocations: 0 / 0.8636 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008595/0.6186, allocations: 333 kB / 0.8639 GB, free: 15.73 MB / 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: 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 (106): * Single equations (assignments): 99 * 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.003576/0.6222, allocations: 2.173 MB / 0.866 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.6247, allocations: 1.099 MB / 0.8671 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.6247, allocations: 2.031 kB / 0.8671 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009298/0.6256, allocations: 0.5639 MB / 0.8676 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.6269, allocations: 298 kB / 0.8679 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.6378, allocations: 6.907 MB / 0.8747 GB, free: 9.066 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.6384, allocations: 1.049 MB / 0.8757 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000871/0.6393, allocations: 283 kB / 0.876 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.6399, allocations: 411.3 kB / 0.8763 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.6399, allocations: 0 / 0.8763 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04915/0.689, allocations: 22.32 MB / 0.8981 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.79, allocations: 7.812 kB / 0.8981 GB, free: 1.445 MB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)