Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_IDEAS_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.004482/0.004482, allocations: 95.42 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.001038/0.001038, allocations: 201.4 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.238/1.238, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7134/0.7134, allocations: 132.2 MB / 422.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 67.36 kB / 0.5809 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1328, allocations: 80.2 MB / 0.6592 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005757/0.1386, allocations: 4.207 MB / 0.6633 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1365/0.2751, allocations: 150.6 MB / 0.8103 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005939/0.2757, allocations: 23.88 kB / 0.8104 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.2762, allocations: 170.4 kB / 0.8105 GB, free: 2.332 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.2775, allocations: 488.6 kB / 0.811 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.2791, allocations: 0.8299 MB / 0.8118 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3113/0.5904, allocations: 1.222 MB / 0.813 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.5915, allocations: 0.628 MB / 0.8136 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006629/0.5922, allocations: 459.7 kB / 0.814 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005005/0.5927, allocations: 468.6 kB / 0.8145 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.5929, allocations: 107.6 kB / 0.8146 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009186/0.5938, allocations: 497.5 kB / 0.8151 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.5941, allocations: 282.4 kB / 0.8153 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004136/0.5945, allocations: 0.5087 MB / 0.8158 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.5964, allocations: 1.549 MB / 0.8173 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5964, allocations: 0 / 0.8173 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5964, allocations: 2.266 kB / 0.8173 GB, free: 3.246 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.5965, allocations: 0.9375 kB / 0.8174 GB, free: 3.246 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002382/0.5988, allocations: 1.403 MB / 0.8187 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.5989, allocations: 10.19 kB / 0.8187 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001642/0.5991, allocations: 133 kB / 0.8189 GB, free: 2.426 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009993/0.6001, allocations: 190.2 kB / 0.819 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001325/0.6014, allocations: 0.7338 MB / 0.8198 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.09e-05/0.6015, allocations: 73.25 kB / 0.8198 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.6017, allocations: 80.25 kB / 0.8199 GB, free: 2.051 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.6033, allocations: 0.896 MB / 0.8208 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.6034, allocations: 2.688 kB / 0.8208 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.6035, allocations: 36.83 kB / 0.8208 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.6035, allocations: 21.5 kB / 0.8208 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.6053, allocations: 1.099 MB / 0.8219 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003793/0.6091, allocations: 2.496 MB / 0.8243 GB, free: 1.141 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.6108, allocations: 0.8667 MB / 0.8252 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/0.6113, allocations: 290.1 kB / 0.8255 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.2e-05/0.6114, allocations: 36 kB / 0.8255 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006889/0.6121, allocations: 455 kB / 0.8259 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 3.126e-06/0.6121, allocations: 2.344 kB / 0.8259 GB, free: 0.9297 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.002968/0.615, allocations: 1.116 MB / 0.827 GB, free: 16.74 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.6152, allocations: 192.3 kB / 0.8272 GB, free: 16.52 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008182/0.616, allocations: 0.6042 MB / 0.8278 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.691e-05/0.6161, allocations: 42.33 kB / 0.8278 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.6163, allocations: 376.8 kB / 0.8282 GB, free: 16.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.6165, allocations: 268.9 kB / 0.8285 GB, free: 16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.6167, allocations: 141.7 kB / 0.8286 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.6169, allocations: 385.1 kB / 0.829 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004317/0.6173, allocations: 229.6 kB / 0.8292 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004895/0.6178, allocations: 334.2 kB / 0.8295 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009134/0.6187, allocations: 0.554 MB / 0.83 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.6187, allocations: 2.188 kB / 0.83 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001734/0.6205, allocations: 0.7553 MB / 0.8308 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.6205, allocations: 6.344 kB / 0.8308 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.6205, allocations: 1.344 kB / 0.8308 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00057/0.6211, allocations: 84.11 kB / 0.8309 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.6217, allocations: 148.7 kB / 0.831 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/0.6236, allocations: 1.63 MB / 0.8326 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.6244, allocations: 87.25 kB / 0.8327 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.238e-05/0.6244, allocations: 28.98 kB / 0.8327 GB, free: 14.03 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: 7 (solAzi.outsidePolarCircle,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 (80): * Single equations (assignments): 79 * 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.000427/0.6249, allocations: 251.2 kB / 0.833 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.625, allocations: 88.33 kB / 0.833 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.6271, allocations: 1.061 MB / 0.8341 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.6272, allocations: 6.844 kB / 0.8341 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.6272, allocations: 2.5 kB / 0.8341 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6272, allocations: 6.688 kB / 0.8341 GB, free: 13.76 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.63, allocations: 1.94 MB / 0.836 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.63, allocations: 8.469 kB / 0.836 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005585/0.6306, allocations: 157.2 kB / 0.8361 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/0.631, allocations: 67.67 kB / 0.8362 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.592e-05/0.6311, allocations: 31.14 kB / 0.8362 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/0.6327, allocations: 1.663 MB / 0.8379 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.6327, allocations: 1.094 kB / 0.8379 GB, free: 12 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.6344, allocations: 0.9614 MB / 0.8388 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.6347, allocations: 267.3 kB / 0.8391 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.6349, allocations: 22.8 kB / 0.8391 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005689/0.6354, allocations: 61.81 kB / 0.8391 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.6356, allocations: 61.5 kB / 0.8392 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.758e-05/0.6356, allocations: 36.19 kB / 0.8392 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000445/0.6361, allocations: 435.3 kB / 0.8396 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6361, allocations: 0.75 kB / 0.8396 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008239/0.6369, allocations: 310 kB / 0.8399 GB, free: 11.48 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 (93): * Single equations (assignments): 90 * 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.00306/0.64, allocations: 2.02 MB / 0.8419 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.6414, allocations: 0.7626 MB / 0.8427 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6415, allocations: 6.078 kB / 0.8427 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007687/0.6422, allocations: 0.5096 MB / 0.8432 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/0.6435, allocations: 286.9 kB / 0.8434 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009135/0.6526, allocations: 6.071 MB / 0.8494 GB, free: 8.504 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.6532, allocations: 1.012 MB / 0.8503 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007742/0.654, allocations: 261.4 kB / 0.8506 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004302/0.6544, allocations: 367.7 kB / 0.8509 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of SimCode: time 6.21e-07/0.6544, allocations: 0.9375 kB / 0.8509 GB, free: 7.746 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05404/0.7084, allocations: 20.6 MB / 0.8711 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.52, allocations: 16.98 kB / 0.8711 GB, free: 3.121 MB / 0.6544 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)