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.007392/0.007392, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.002046/0.002046, allocations: 189.5 kB / 16.67 MB, free: 5.934 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002428/0.002428, allocations: 289.4 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9903/0.9903, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 95.84 kB / 0.681 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3957, allocations: 86.97 MB / 0.7659 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006239/0.4019, allocations: 4.416 MB / 0.7702 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1743/0.5762, allocations: 150.6 MB / 0.9173 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007754/0.577, allocations: 15.94 kB / 0.9173 GB, free: 8.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007196/0.5778, allocations: 178.3 kB / 0.9174 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001896/0.5797, allocations: 0.5179 MB / 0.9179 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.5818, allocations: 0.8449 MB / 0.9188 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.5833, allocations: 1.343 MB / 0.9201 GB, free: 5.387 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.5843, allocations: 0.6276 MB / 0.9207 GB, free: 4.738 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.5849, allocations: 498.2 kB / 0.9212 GB, free: 4.25 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006545/0.5856, allocations: 0.5056 MB / 0.9217 GB, free: 3.742 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.5857, allocations: 120 kB / 0.9218 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000909/0.5867, allocations: 479.6 kB / 0.9222 GB, free: 3.156 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.587, allocations: 318.9 kB / 0.9225 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005338/0.5875, allocations: 0.5518 MB / 0.9231 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001991/0.5895, allocations: 1.651 MB / 0.9247 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.5895, allocations: 0 / 0.9247 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5896, allocations: 0 / 0.9247 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.106e-05/0.5896, allocations: 0 / 0.9247 GB, free: 0.6367 MB / 0.6856 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.002689/0.5923, allocations: 1.491 MB / 0.9261 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5923, allocations: 8.031 kB / 0.9262 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001758/0.5925, allocations: 139.5 kB / 0.9263 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009228/0.5934, allocations: 196 kB / 0.9265 GB, free: 14.75 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.5947, allocations: 0.7823 MB / 0.9272 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-05/0.5948, allocations: 66 kB / 0.9273 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.5949, allocations: 80 kB / 0.9274 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/0.5966, allocations: 0.9418 MB / 0.9283 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.5966, allocations: 0 / 0.9283 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.428e-05/0.5967, allocations: 40 kB / 0.9283 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.5968, allocations: 24 kB / 0.9284 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.5987, allocations: 1.12 MB / 0.9295 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004041/0.6027, allocations: 2.528 MB / 0.9319 GB, free: 9.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.6044, allocations: 0.9032 MB / 0.9328 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/0.605, allocations: 320.7 kB / 0.9331 GB, free: 7.777 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 9.198e-05/0.6051, allocations: 32.69 kB / 0.9331 GB, free: 7.742 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009708/0.6061, allocations: 0.5137 MB / 0.9336 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=84): time 2.866e-06/0.6061, allocations: 0 / 0.9336 GB, free: 7.211 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.003289/0.6094, allocations: 1.251 MB / 0.9349 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001304/0.6096, allocations: 188.9 kB / 0.935 GB, free: 5.711 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008855/0.6105, allocations: 0.6449 MB / 0.9357 GB, free: 5.059 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.969e-05/0.6105, allocations: 41.7 kB / 0.9357 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.6109, allocations: 405.1 kB / 0.9361 GB, free: 4.609 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.6112, allocations: 293.6 kB / 0.9364 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/0.6114, allocations: 150.6 kB / 0.9365 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002164/0.6117, allocations: 390.8 kB / 0.9369 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/0.6122, allocations: 253.9 kB / 0.9371 GB, free: 3.527 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000658/0.6129, allocations: 370.5 kB / 0.9375 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.6141, allocations: 0.6047 MB / 0.9381 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6141, allocations: 4 kB / 0.9381 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001975/0.6161, allocations: 0.8297 MB / 0.9389 GB, free: 1.68 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.6161, allocations: 7.938 kB / 0.9389 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6161, allocations: 7.938 kB / 0.9389 GB, free: 1.664 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005763/0.6167, allocations: 80.81 kB / 0.939 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.6174, allocations: 159.8 kB / 0.9391 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002255/0.6197, allocations: 1.627 MB / 0.9407 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/0.6204, allocations: 99.39 kB / 0.9408 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.6204, allocations: 27.98 kB / 0.9408 GB, free: 15.53 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: 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.0004277/0.6209, allocations: 277 kB / 0.9411 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.621, allocations: 87.44 kB / 0.9412 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.6237, allocations: 1.136 MB / 0.9423 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.6237, allocations: 12 kB / 0.9423 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.6237, allocations: 3.938 kB / 0.9423 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.6237, allocations: 3.984 kB / 0.9423 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.6273, allocations: 2.026 MB / 0.9443 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6273, allocations: 4 kB / 0.9443 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006261/0.6279, allocations: 155.8 kB / 0.9445 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/0.6284, allocations: 72.78 kB / 0.9445 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/0.6285, allocations: 27.97 kB / 0.9446 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.6305, allocations: 1.658 MB / 0.9462 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6305, allocations: 0 / 0.9462 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/0.6328, allocations: 1.049 MB / 0.9472 GB, free: 8.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004144/0.6332, allocations: 288.1 kB / 0.9475 GB, free: 8.477 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.6333, allocations: 27.98 kB / 0.9475 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006652/0.634, allocations: 63.31 kB / 0.9476 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.6342, allocations: 76.89 kB / 0.9476 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-05/0.6343, allocations: 39.97 kB / 0.9477 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006399/0.6349, allocations: 471 kB / 0.9481 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6349, allocations: 4 kB / 0.9481 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008533/0.6358, allocations: 315.2 kB / 0.9484 GB, free: 7.512 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: 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.004262/0.64, allocations: 2.107 MB / 0.9505 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.6419, allocations: 0.8428 MB / 0.9513 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6419, allocations: 0 / 0.9513 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001007/0.6429, allocations: 0.5356 MB / 0.9518 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.6442, allocations: 297.1 kB / 0.9521 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.295/0.9392, allocations: 6.496 MB / 0.9585 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/0.9399, allocations: 1.036 MB / 0.9595 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009373/0.9409, allocations: 278.4 kB / 0.9597 GB, free: 185.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005208/0.9414, allocations: 407.2 kB / 0.9601 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of SimCode: time 8.52e-07/0.9414, allocations: 0 / 0.9601 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/0.9908, allocations: 21.89 MB / 0.9815 GB, free: 171.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/14.06, allocations: 2.625 kB / 0.9815 GB, free: 171.1 MB / 0.7169 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)