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.004072/0.004076, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.00122/0.00122, allocations: 190.2 kB / 16.67 MB, free: 5.91 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.4/1.4, 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/IDEAS 3.0.0/package.mo): time 0.8384/0.8384, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 61.56 kB / 0.5808 GB, free: 24.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1308, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.00597/0.1368, allocations: 4.072 MB / 0.6631 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4397/0.5764, allocations: 150.4 MB / 0.8101 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000585/0.5771, allocations: 25.84 kB / 0.8101 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005451/0.5777, allocations: 166.5 kB / 0.8102 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00143/0.5791, allocations: 472.1 kB / 0.8107 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/0.5807, allocations: 0.7916 MB / 0.8115 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001065/0.5818, allocations: 1.174 MB / 0.8126 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007442/0.5826, allocations: 0.6241 MB / 0.8132 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.583, allocations: 420.4 kB / 0.8136 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004677/0.5835, allocations: 444.9 kB / 0.814 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.5836, allocations: 107.7 kB / 0.8141 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007253/0.5844, allocations: 472.7 kB / 0.8146 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.5846, allocations: 273.4 kB / 0.8149 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003778/0.585, allocations: 499.8 kB / 0.8153 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.5864, allocations: 1.507 MB / 0.8168 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5864, allocations: 0 / 0.8168 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5864, allocations: 0 / 0.8168 GB, free: 9.867 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.5865, allocations: 0 / 0.8168 GB, free: 9.867 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.002104/0.5886, allocations: 1.342 MB / 0.8181 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.5886, allocations: 11.25 kB / 0.8181 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.5888, allocations: 131.5 kB / 0.8182 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.5897, allocations: 179.4 kB / 0.8184 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.5907, allocations: 0.7367 MB / 0.8191 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/0.5907, allocations: 60.09 kB / 0.8192 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.5908, allocations: 73.78 kB / 0.8193 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.5923, allocations: 0.858 MB / 0.8201 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.5923, allocations: 3.984 kB / 0.8201 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.788e-05/0.5924, allocations: 35.66 kB / 0.8201 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.5924, allocations: 23.64 kB / 0.8202 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.5941, allocations: 1.059 MB / 0.8212 GB, free: 7.133 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003564/0.5977, allocations: 2.355 MB / 0.8235 GB, free: 5.328 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.5991, allocations: 0.7896 MB / 0.8243 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.5996, allocations: 277.2 kB / 0.8245 GB, free: 4.738 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.918e-05/0.5996, allocations: 28.33 kB / 0.8246 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007454/0.6004, allocations: 425.9 kB / 0.825 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 2.034e-06/0.6004, allocations: 4 kB / 0.825 GB, free: 4.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=70): time 0.003009/0.6034, allocations: 1.07 MB / 0.826 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/0.6036, allocations: 195.5 kB / 0.8262 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006769/0.6043, allocations: 0.5783 MB / 0.8268 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/0.6043, allocations: 42.47 kB / 0.8268 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.6047, allocations: 378.3 kB / 0.8272 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002031/0.6049, allocations: 244.9 kB / 0.8274 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.6051, allocations: 127.6 kB / 0.8275 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.6053, allocations: 383.8 kB / 0.8279 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004429/0.6057, allocations: 217.7 kB / 0.8281 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005532/0.6063, allocations: 314 kB / 0.8284 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.6073, allocations: 0.5172 MB / 0.8289 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.6073, allocations: 6.688 kB / 0.8289 GB, free: 1.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001731/0.6091, allocations: 0.7154 MB / 0.8296 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.6091, allocations: 5.281 kB / 0.8296 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6091, allocations: 2.469 kB / 0.8296 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/0.6097, allocations: 83.39 kB / 0.8297 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005515/0.6103, allocations: 132.6 kB / 0.8298 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.6126, allocations: 1.648 MB / 0.8314 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.6131, allocations: 73.52 kB / 0.8315 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.386e-05/0.6132, allocations: 29.05 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.0003571/0.6136, allocations: 256.8 kB / 0.8318 GB, free: 15.35 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.6137, allocations: 82.48 kB / 0.8319 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/0.616, allocations: 0.9586 MB / 0.8328 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.616, allocations: 10.41 kB / 0.8328 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.616, allocations: 0 / 0.8328 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.616, allocations: 3.984 kB / 0.8328 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.6191, allocations: 1.838 MB / 0.8346 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.6191, allocations: 0 / 0.8346 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.6197, allocations: 145.5 kB / 0.8347 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.6201, allocations: 71.97 kB / 0.8348 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.6202, allocations: 18.83 kB / 0.8348 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002088/0.6223, allocations: 1.671 MB / 0.8365 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.6223, allocations: 3.984 kB / 0.8365 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.6242, allocations: 0.8985 MB / 0.8373 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003192/0.6245, allocations: 263.1 kB / 0.8376 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/0.6247, allocations: 20.81 kB / 0.8376 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.6252, allocations: 53.5 kB / 0.8377 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.6254, allocations: 52.55 kB / 0.8377 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.6254, allocations: 35.77 kB / 0.8377 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005126/0.626, allocations: 431.3 kB / 0.8382 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.626, allocations: 0 / 0.8382 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007146/0.6267, allocations: 288.3 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.003966/0.6307, allocations: 1.946 MB / 0.8403 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.6322, allocations: 0.7147 MB / 0.841 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6322, allocations: 0 / 0.841 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008639/0.633, allocations: 483.9 kB / 0.8415 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.6343, allocations: 286.5 kB / 0.8418 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.6449, allocations: 5.846 MB / 0.8475 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/0.6456, allocations: 0.9875 MB / 0.8484 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000727/0.6464, allocations: 254 kB / 0.8487 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/0.6469, allocations: 347.3 kB / 0.849 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.6469, allocations: 0 / 0.849 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05348/0.7004, allocations: 19.67 MB / 0.8682 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.22, allocations: 19.89 kB / 0.8682 GB, free: 14.15 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)