Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_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.004841/0.004841, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.001349/0.001349, allocations: 202.2 kB / 16.68 MB, free: 5.961 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8148/0.8148, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002461/0.002461, allocations: 67.61 kB / 0.5809 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.169, allocations: 80.2 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006046/0.175, allocations: 4.118 MB / 0.6632 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1767/0.3518, allocations: 150.5 MB / 0.8102 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008074/0.3526, allocations: 15.94 kB / 0.8102 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0007509/0.3534, allocations: 166.5 kB / 0.8103 GB, free: 2.598 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.3554, allocations: 471.8 kB / 0.8108 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002292/0.3577, allocations: 0.8059 MB / 0.8116 GB, free: 1.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001845/0.3595, allocations: 1.188 MB / 0.8127 GB, free: 152 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.3862/0.7458, allocations: 0.5969 MB / 0.8133 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.7465, allocations: 436.8 kB / 0.8137 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.7471, allocations: 447.6 kB / 0.8142 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.7473, allocations: 103.3 kB / 0.8143 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009296/0.7482, allocations: 472.1 kB / 0.8147 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.7485, allocations: 270.5 kB / 0.815 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.749, allocations: 0.4944 MB / 0.8154 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002059/0.751, allocations: 1.49 MB / 0.8169 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.7511, allocations: 1.312 kB / 0.8169 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7511, allocations: 0 / 0.8169 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.539e-05/0.7511, allocations: 0 / 0.8169 GB, free: 3.266 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.0024/0.7535, allocations: 1.358 MB / 0.8182 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.7536, allocations: 9.875 kB / 0.8182 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.7537, allocations: 134.4 kB / 0.8184 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009502/0.7547, allocations: 183.8 kB / 0.8185 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.7559, allocations: 0.7256 MB / 0.8193 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.803e-05/0.7559, allocations: 65.69 kB / 0.8193 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.7561, allocations: 76.62 kB / 0.8194 GB, free: 2.098 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.7577, allocations: 0.8622 MB / 0.8202 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.7578, allocations: 0.5625 kB / 0.8202 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.378e-05/0.7578, allocations: 36.08 kB / 0.8203 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.194e-05/0.7579, allocations: 19.69 kB / 0.8203 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.7596, allocations: 1.065 MB / 0.8213 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003532/0.7632, allocations: 2.349 MB / 0.8236 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.7645, allocations: 0.791 MB / 0.8244 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004713/0.7649, allocations: 277.6 kB / 0.8247 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-05/0.765, allocations: 35.58 kB / 0.8247 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007205/0.7658, allocations: 426.8 kB / 0.8251 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=72): time 2.505e-06/0.7658, allocations: 0 / 0.8251 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72): time 0.002983/0.7688, allocations: 1.083 MB / 0.8262 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.7689, allocations: 188.5 kB / 0.8263 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007171/0.7696, allocations: 0.5885 MB / 0.8269 GB, free: 16.44 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.7697, allocations: 39.8 kB / 0.8269 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.77, allocations: 380.4 kB / 0.8273 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.7701, allocations: 246.1 kB / 0.8275 GB, free: 16.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.7703, allocations: 137.8 kB / 0.8277 GB, free: 16.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7705, allocations: 376.2 kB / 0.828 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.7709, allocations: 218.7 kB / 0.8282 GB, free: 15.74 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/0.7714, allocations: 318.4 kB / 0.8285 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008981/0.7723, allocations: 0.5279 MB / 0.8291 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.7723, allocations: 0 / 0.8291 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001654/0.774, allocations: 0.7215 MB / 0.8298 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.774, allocations: 5.5 kB / 0.8298 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.774, allocations: 0.9062 kB / 0.8298 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005943/0.7746, allocations: 81.42 kB / 0.8298 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.7752, allocations: 139 kB / 0.83 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.7773, allocations: 1.637 MB / 0.8316 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006207/0.7779, allocations: 75.5 kB / 0.8317 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.778, allocations: 27.81 kB / 0.8317 GB, free: 14.09 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0004112/0.7784, allocations: 248.1 kB / 0.8319 GB, free: 13.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/0.7786, allocations: 76.66 kB / 0.832 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/0.7808, allocations: 1.005 MB / 0.833 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.7808, allocations: 10.8 kB / 0.833 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.7808, allocations: 4.375 kB / 0.833 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.7808, allocations: 7.969 kB / 0.833 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.7838, allocations: 1.857 MB / 0.8348 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.7838, allocations: 0 / 0.8348 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.7843, allocations: 150.9 kB / 0.8349 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/0.7848, allocations: 74.64 kB / 0.835 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/0.7848, allocations: 23.7 kB / 0.835 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.7868, allocations: 1.65 MB / 0.8367 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7868, allocations: 0 / 0.8367 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.7886, allocations: 0.9206 MB / 0.8376 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003675/0.789, allocations: 259.2 kB / 0.8378 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.7891, allocations: 29.58 kB / 0.8378 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/0.7897, allocations: 52.44 kB / 0.8379 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.7898, allocations: 63.05 kB / 0.8379 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.753e-05/0.7899, allocations: 31.56 kB / 0.838 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005143/0.7904, allocations: 430.6 kB / 0.8384 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7904, allocations: 3.938 kB / 0.8384 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008384/0.7913, allocations: 280.8 kB / 0.8386 GB, free: 11.56 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003824/0.7951, allocations: 1.976 MB / 0.8406 GB, free: 10.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.7966, allocations: 0.7229 MB / 0.8413 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.7966, allocations: 0 / 0.8413 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008253/0.7974, allocations: 498.4 kB / 0.8418 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7988, allocations: 287.7 kB / 0.842 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009875/0.8087, allocations: 5.878 MB / 0.8478 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.8093, allocations: 1 MB / 0.8488 GB, free: 7.906 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0008151/0.8101, allocations: 259 kB / 0.849 GB, free: 7.867 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004238/0.8105, allocations: 351 kB / 0.8493 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of SimCode: time 1.673e-06/0.8105, allocations: 0.875 kB / 0.8493 GB, free: 7.859 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05131/0.8618, allocations: 19.91 MB / 0.8688 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.77/13.63, allocations: 14.61 kB / 0.8688 GB, free: 3.852 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)