Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_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.002079/0.002079, allocations: 108 kB / 15.6 MB, free: 132 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.002645/0.002645, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.568/1.568, allocations: 222.9 MB / 240.2 MB, free: 4.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00249/0.00249, allocations: 287 kB / 290.7 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.079/1.079, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003489/0.003489, allocations: 94.08 kB / 0.6065 GB, free: 24.65 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1674, allocations: 89.15 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007085/0.1746, allocations: 4.815 MB / 0.6983 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4876/0.6622, allocations: 150.6 MB / 0.8454 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008121/0.6631, allocations: 20.25 kB / 0.8454 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005814/0.6637, allocations: 185.5 kB / 0.8456 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.6654, allocations: 0.5493 MB / 0.8461 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001995/0.6674, allocations: 0.8308 MB / 0.8469 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00168/0.6691, allocations: 1.368 MB / 0.8482 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009042/0.67, allocations: 0.5929 MB / 0.8488 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007599/0.6708, allocations: 483 kB / 0.8493 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006487/0.6715, allocations: 0.4969 MB / 0.8498 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.6716, allocations: 121.7 kB / 0.8499 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008998/0.6725, allocations: 460.9 kB / 0.8503 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.6728, allocations: 296.2 kB / 0.8506 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000509/0.6733, allocations: 0.5603 MB / 0.8511 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001876/0.6752, allocations: 1.604 MB / 0.8527 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6752, allocations: 0 / 0.8527 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6752, allocations: 0 / 0.8527 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.921e-05/0.6753, allocations: 0 / 0.8527 GB, free: 2.309 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002621/0.6779, allocations: 1.432 MB / 0.8541 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.6779, allocations: 11.09 kB / 0.8541 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.6781, allocations: 137.4 kB / 0.8543 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009032/0.679, allocations: 189.8 kB / 0.8544 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.6801, allocations: 0.7398 MB / 0.8552 GB, free: 372 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.744e-05/0.6801, allocations: 62.53 kB / 0.8552 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.682e-05/0.6802, allocations: 79.28 kB / 0.8553 GB, free: 316 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.6817, allocations: 0.9153 MB / 0.8562 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.6818, allocations: 2.094 kB / 0.8562 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.027e-05/0.6819, allocations: 36 kB / 0.8562 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.6819, allocations: 27.52 kB / 0.8562 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.6835, allocations: 1.102 MB / 0.8573 GB, free: 15.16 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.004139/0.6877, allocations: 2.748 MB / 0.86 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.6893, allocations: 0.8888 MB / 0.8609 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000528/0.6898, allocations: 305.8 kB / 0.8612 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-05/0.6899, allocations: 31.45 kB / 0.8612 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009381/0.6908, allocations: 494.6 kB / 0.8617 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=79): time 3.256e-06/0.6909, allocations: 6.188 kB / 0.8617 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=79): time 0.003126/0.694, allocations: 1.182 MB / 0.8628 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/0.6941, allocations: 200.1 kB / 0.863 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008262/0.695, allocations: 0.6206 MB / 0.8636 GB, free: 10.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.6951, allocations: 46.89 kB / 0.8637 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/0.6954, allocations: 395.8 kB / 0.864 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.6957, allocations: 256.9 kB / 0.8643 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.6959, allocations: 146.8 kB / 0.8644 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.6961, allocations: 388.5 kB / 0.8648 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.6967, allocations: 249.1 kB / 0.865 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006501/0.6973, allocations: 355.8 kB / 0.8654 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.6985, allocations: 0.5812 MB / 0.8659 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6985, allocations: 0 / 0.8659 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001969/0.7005, allocations: 0.7997 MB / 0.8667 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.7005, allocations: 5.812 kB / 0.8667 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.7005, allocations: 2.062 kB / 0.8667 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006104/0.7011, allocations: 87.23 kB / 0.8668 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.7017, allocations: 150.8 kB / 0.867 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002372/0.7041, allocations: 1.647 MB / 0.8686 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007584/0.7049, allocations: 91.38 kB / 0.8687 GB, free: 6.809 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/0.705, allocations: 25.86 kB / 0.8687 GB, free: 6.801 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.0005124/0.7055, allocations: 264.5 kB / 0.8689 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002401/0.7057, allocations: 80.98 kB / 0.869 GB, free: 6.551 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.7082, allocations: 1.063 MB / 0.8701 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.7082, allocations: 11.78 kB / 0.8701 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/0.7082, allocations: 3.938 kB / 0.8701 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.7083, allocations: 5.766 kB / 0.8701 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003699/0.712, allocations: 1.966 MB / 0.872 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.712, allocations: 0 / 0.872 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.7126, allocations: 139.8 kB / 0.8721 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004722/0.7131, allocations: 76.78 kB / 0.8722 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.535e-05/0.7131, allocations: 23.98 kB / 0.8722 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002135/0.7153, allocations: 1.677 MB / 0.8739 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.7153, allocations: 4.031 kB / 0.8739 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002192/0.7175, allocations: 0.9883 MB / 0.8748 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004816/0.718, allocations: 271.7 kB / 0.8751 GB, free: 0.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.7182, allocations: 31.92 kB / 0.8751 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007045/0.7189, allocations: 60.5 kB / 0.8752 GB, free: 0.5781 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.7191, allocations: 76.83 kB / 0.8752 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.588e-05/0.7192, allocations: 31.98 kB / 0.8753 GB, free: 480 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006721/0.7199, allocations: 455 kB / 0.8757 GB, free: 28 kB / 0.5919 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7199, allocations: 0 / 0.8757 GB, free: 28 kB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001002/0.7209, allocations: 315.2 kB / 0.876 GB, free: 15.72 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: 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.004324/0.7252, allocations: 2.054 MB / 0.878 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002635/0.7279, allocations: 0.9958 MB / 0.879 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.7279, allocations: 4 kB / 0.879 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.7289, allocations: 0.508 MB / 0.8795 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.7305, allocations: 303.2 kB / 0.8798 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.7428, allocations: 6.39 MB / 0.886 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000783/0.7436, allocations: 1.019 MB / 0.887 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009919/0.7446, allocations: 270.6 kB / 0.8873 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/0.7452, allocations: 367.3 kB / 0.8876 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.7452, allocations: 4 kB / 0.8876 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06197/0.8072, allocations: 21.39 MB / 0.9085 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/13.02, allocations: 7.875 kB / 0.9085 GB, free: 14.83 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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_Examples_ZenithAngle.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)