Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_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.00552/0.00552, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001252/0.001252, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.234/1.234, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7346/0.7346, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 65.31 kB / 0.5808 GB, free: 24.01 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1271, allocations: 80.22 MB / 0.6592 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.005453/0.1326, allocations: 4.072 MB / 0.6631 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.46/0.5925, allocations: 150.5 MB / 0.8101 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005906/0.5932, allocations: 15.56 kB / 0.8101 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004641/0.5937, allocations: 164.9 kB / 0.8102 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.5949, allocations: 484.1 kB / 0.8107 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.5966, allocations: 0.7924 MB / 0.8115 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.5978, allocations: 1.177 MB / 0.8126 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008136/0.5987, allocations: 0.6168 MB / 0.8132 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005179/0.5992, allocations: 422.8 kB / 0.8136 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004047/0.5996, allocations: 445.1 kB / 0.8141 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001253/0.5997, allocations: 104.4 kB / 0.8142 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007136/0.6005, allocations: 478.4 kB / 0.8146 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.6007, allocations: 272.4 kB / 0.8149 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003447/0.601, allocations: 0.4899 MB / 0.8153 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.6026, allocations: 1.502 MB / 0.8168 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.6026, allocations: 0 / 0.8168 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6026, allocations: 0 / 0.8168 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.447e-05/0.6026, allocations: 0 / 0.8168 GB, free: 9.848 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001923/0.6046, allocations: 1.346 MB / 0.8181 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.6046, allocations: 9.812 kB / 0.8181 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.6048, allocations: 131.5 kB / 0.8183 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008469/0.6056, allocations: 181.4 kB / 0.8184 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.6066, allocations: 0.731 MB / 0.8191 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.6067, allocations: 57.22 kB / 0.8192 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.936e-05/0.6068, allocations: 73.66 kB / 0.8193 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.6081, allocations: 0.8637 MB / 0.8201 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.6081, allocations: 5.188 kB / 0.8201 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.6082, allocations: 31.78 kB / 0.8202 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.6082, allocations: 20.62 kB / 0.8202 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001494/0.6097, allocations: 1.061 MB / 0.8212 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003308/0.613, allocations: 2.357 MB / 0.8235 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.6143, allocations: 0.7985 MB / 0.8243 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004504/0.6147, allocations: 269.7 kB / 0.8245 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.62e-05/0.6148, allocations: 37.19 kB / 0.8246 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000686/0.6155, allocations: 418.5 kB / 0.825 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.084e-06/0.6155, allocations: 0 / 0.825 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.002736/0.6183, allocations: 1.08 MB / 0.826 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.326e-05/0.6184, allocations: 188.2 kB / 0.8262 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006453/0.619, allocations: 0.5819 MB / 0.8268 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.6191, allocations: 42.98 kB / 0.8268 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002831/0.6194, allocations: 382.2 kB / 0.8272 GB, free: 2.922 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.6196, allocations: 244.4 kB / 0.8274 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.6198, allocations: 127.5 kB / 0.8275 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.62, allocations: 379.8 kB / 0.8279 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004142/0.6204, allocations: 213.7 kB / 0.8281 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.6209, allocations: 317.5 kB / 0.8284 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.6218, allocations: 0.5229 MB / 0.8289 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.6218, allocations: 3.938 kB / 0.8289 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001614/0.6234, allocations: 0.7142 MB / 0.8296 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.6234, allocations: 5.688 kB / 0.8296 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6234, allocations: 0 / 0.8296 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005515/0.624, allocations: 86.2 kB / 0.8297 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.6245, allocations: 129.5 kB / 0.8298 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00195/0.6265, allocations: 1.649 MB / 0.8314 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005665/0.6271, allocations: 66.31 kB / 0.8315 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.6271, allocations: 35.78 kB / 0.8315 GB, free: 15.55 MB / 0.6075 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 (73): * Single equations (assignments): 72 * 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.0003847/0.6275, allocations: 250.9 kB / 0.8318 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6277, allocations: 88.64 kB / 0.8319 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.6297, allocations: 0.9534 MB / 0.8328 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.6297, allocations: 7.406 kB / 0.8328 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6297, allocations: 0 / 0.8328 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.6297, allocations: 7.922 kB / 0.8328 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.6326, allocations: 1.836 MB / 0.8346 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.6326, allocations: 3.938 kB / 0.8346 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005029/0.6331, allocations: 137.7 kB / 0.8347 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004233/0.6336, allocations: 82.69 kB / 0.8348 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.6336, allocations: 18.83 kB / 0.8348 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.6353, allocations: 1.667 MB / 0.8365 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.6353, allocations: 0 / 0.8365 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.6371, allocations: 0.8994 MB / 0.8373 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003321/0.6374, allocations: 259 kB / 0.8376 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.6375, allocations: 20.59 kB / 0.8376 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.6381, allocations: 61.44 kB / 0.8377 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6382, allocations: 58.41 kB / 0.8377 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/0.6382, allocations: 31.88 kB / 0.8378 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004596/0.6387, allocations: 426.2 kB / 0.8382 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6387, allocations: 0 / 0.8382 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007195/0.6394, allocations: 289.2 kB / 0.8384 GB, free: 10.63 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: 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 (81): * Single equations (assignments): 78 * 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.002931/0.6424, allocations: 1.943 MB / 0.8403 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001328/0.6437, allocations: 0.7101 MB / 0.841 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.6437, allocations: 4 kB / 0.841 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.6446, allocations: 485.2 kB / 0.8415 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6458, allocations: 288.7 kB / 0.8418 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009569/0.6554, allocations: 5.836 MB / 0.8475 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.6559, allocations: 0.9991 MB / 0.8484 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007606/0.6567, allocations: 254 kB / 0.8487 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.6572, allocations: 343.3 kB / 0.849 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/0.6572, allocations: 0 / 0.849 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.045/0.7022, allocations: 19.69 MB / 0.8682 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.64, allocations: 14.42 kB / 0.8683 GB, free: 14.12 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)