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.001285/0.001285, 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.001295/0.001295, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.421/1.421, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002578/0.002578, allocations: 290.7 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5073 GB, free: 4.555 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 95.72 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1521, allocations: 89.15 MB / 0.6936 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007199/0.1594, allocations: 5.003 MB / 0.6985 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4365/0.5958, allocations: 150.7 MB / 0.8457 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007512/0.5966, allocations: 16.84 kB / 0.8457 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005943/0.5972, allocations: 199.5 kB / 0.8459 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001739/0.599, allocations: 0.5555 MB / 0.8464 GB, free: 6.469 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002069/0.6011, allocations: 0.8816 MB / 0.8473 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.6026, allocations: 1.461 MB / 0.8487 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000845/0.6034, allocations: 0.5984 MB / 0.8493 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005927/0.604, allocations: 0.5061 MB / 0.8498 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006248/0.6047, allocations: 0.5471 MB / 0.8503 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.6048, allocations: 120.7 kB / 0.8504 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008173/0.6056, allocations: 488.6 kB / 0.8509 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003097/0.606, allocations: 312.9 kB / 0.8512 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005577/0.6065, allocations: 0.5928 MB / 0.8518 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.6084, allocations: 1.677 MB / 0.8534 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6084, allocations: 0 / 0.8534 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6084, allocations: 4 kB / 0.8534 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.6085, allocations: 0 / 0.8534 GB, free: 1.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.002824/0.6113, allocations: 1.509 MB / 0.8549 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.6113, allocations: 9.938 kB / 0.8549 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00018/0.6115, allocations: 144.5 kB / 0.8551 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009252/0.6124, allocations: 198.2 kB / 0.8552 GB, free: 436 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.6136, allocations: 0.754 MB / 0.856 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.999e-05/0.6136, allocations: 66.31 kB / 0.856 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.6138, allocations: 89.67 kB / 0.8561 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.6154, allocations: 0.9845 MB / 0.8571 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.6155, allocations: 0 / 0.8571 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.272e-05/0.6156, allocations: 38.12 kB / 0.8571 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.6156, allocations: 26.25 kB / 0.8572 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/0.6174, allocations: 1.156 MB / 0.8583 GB, free: 14.53 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.004563/0.622, allocations: 2.924 MB / 0.8611 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.6242, allocations: 0.9749 MB / 0.8621 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005813/0.6248, allocations: 330.2 kB / 0.8624 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.736e-05/0.6249, allocations: 39.58 kB / 0.8624 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.6259, allocations: 0.5406 MB / 0.863 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.635e-06/0.6259, allocations: 0 / 0.863 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003378/0.6293, allocations: 1.301 MB / 0.8642 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.6294, allocations: 196.4 kB / 0.8644 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008401/0.6303, allocations: 0.65 MB / 0.8651 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.249e-05/0.6304, allocations: 46.94 kB / 0.8651 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.6307, allocations: 410.8 kB / 0.8655 GB, free: 9.418 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.631, allocations: 279 kB / 0.8658 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.6312, allocations: 162.2 kB / 0.8659 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.6314, allocations: 388.6 kB / 0.8663 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005422/0.632, allocations: 273.9 kB / 0.8665 GB, free: 8.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006675/0.6327, allocations: 388.4 kB / 0.8669 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.6339, allocations: 0.631 MB / 0.8675 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6339, allocations: 0 / 0.8675 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.00208/0.636, allocations: 0.8632 MB / 0.8684 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.636, allocations: 10.95 kB / 0.8684 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.636, allocations: 0 / 0.8684 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.6367, allocations: 81.47 kB / 0.8685 GB, free: 7.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/0.6374, allocations: 171 kB / 0.8686 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.6397, allocations: 1.628 MB / 0.8702 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/0.6406, allocations: 98.5 kB / 0.8703 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.6407, allocations: 34.22 kB / 0.8703 GB, free: 5.785 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: 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.0005064/0.6412, allocations: 270.9 kB / 0.8706 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.6414, allocations: 93.62 kB / 0.8707 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002928/0.6443, allocations: 1.199 MB / 0.8719 GB, free: 4.277 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.6444, allocations: 15.94 kB / 0.8719 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.6444, allocations: 0 / 0.8719 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.6444, allocations: 7.969 kB / 0.8719 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003887/0.6483, allocations: 2.102 MB / 0.8739 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6483, allocations: 0 / 0.8739 GB, free: 2.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006913/0.649, allocations: 167.8 kB / 0.8741 GB, free: 1.926 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004656/0.6495, allocations: 65.92 kB / 0.8742 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.6496, allocations: 39.97 kB / 0.8742 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002161/0.6517, allocations: 1.662 MB / 0.8758 GB, free: 16 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6517, allocations: 0 / 0.8758 GB, free: 16 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.6542, allocations: 1.086 MB / 0.8769 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004575/0.6547, allocations: 295.6 kB / 0.8772 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.6548, allocations: 24.05 kB / 0.8772 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007678/0.6556, allocations: 71.92 kB / 0.8773 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.6558, allocations: 80.89 kB / 0.8773 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/0.6559, allocations: 47.91 kB / 0.8774 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006931/0.6566, allocations: 467 kB / 0.8778 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6566, allocations: 0 / 0.8778 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009795/0.6576, allocations: 354.9 kB / 0.8782 GB, free: 13.59 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: 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.004543/0.6621, allocations: 2.149 MB / 0.8803 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002852/0.665, allocations: 1.101 MB / 0.8813 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.665, allocations: 4.188 kB / 0.8813 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.6661, allocations: 0.5627 MB / 0.8819 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.6676, allocations: 321 kB / 0.8822 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.6795, allocations: 6.798 MB / 0.8888 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007724/0.6803, allocations: 1.059 MB / 0.8899 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0009873/0.6813, allocations: 279 kB / 0.8901 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006662/0.6819, allocations: 411.3 kB / 0.8905 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.6819, allocations: 0 / 0.8905 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06198/0.7439, allocations: 22.71 MB / 0.9127 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.81, allocations: 22.09 kB / 0.9127 GB, free: 10.58 MB / 0.6387 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)