Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="IDEAS_dev_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.008242/0.008242, allocations: 97.62 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.00226/0.00226, allocations: 197.7 kB / 16.68 MB, free: 5.977 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9757/0.9757, allocations: 135.6 MB / 426.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 63.91 kB / 0.5857 GB, free: 3.219 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.338, allocations: 81.02 MB / 0.6649 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.004469/0.3425, allocations: 4.198 MB / 0.669 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1722/0.5148, allocations: 150.6 MB / 0.816 GB, free: 5.574 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006543/0.5154, allocations: 15.94 kB / 0.816 GB, free: 5.559 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005083/0.516, allocations: 170.4 kB / 0.8162 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00148/0.5175, allocations: 487.7 kB / 0.8166 GB, free: 4.914 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.5195, allocations: 0.8354 MB / 0.8175 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001367/0.5208, allocations: 1.238 MB / 0.8187 GB, free: 2.84 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008979/0.5217, allocations: 0.6297 MB / 0.8193 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005805/0.5223, allocations: 458.3 kB / 0.8197 GB, free: 1.742 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005506/0.5229, allocations: 466 kB / 0.8202 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.5231, allocations: 104 kB / 0.8203 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009407/0.524, allocations: 0.4956 MB / 0.8208 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002765/0.5243, allocations: 279.1 kB / 0.821 GB, free: 424 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005345/0.5248, allocations: 0.513 MB / 0.8215 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.5269, allocations: 1.538 MB / 0.823 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.5269, allocations: 3.984 kB / 0.823 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5269, allocations: 4 kB / 0.823 GB, free: 14.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.36e-05/0.527, allocations: 0 / 0.823 GB, free: 14.35 MB / 0.6544 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.002452/0.5294, allocations: 1.402 MB / 0.8244 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.5295, allocations: 8.031 kB / 0.8244 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001607/0.5296, allocations: 135.4 kB / 0.8245 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009175/0.5306, allocations: 192.1 kB / 0.8247 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.5317, allocations: 0.7388 MB / 0.8254 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.5318, allocations: 58 kB / 0.8255 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.5319, allocations: 80 kB / 0.8256 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.5335, allocations: 0.9027 MB / 0.8265 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.5335, allocations: 0 / 0.8265 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.399e-05/0.5336, allocations: 32 kB / 0.8265 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.5336, allocations: 24 kB / 0.8265 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.5355, allocations: 1.1 MB / 0.8276 GB, free: 9.543 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004214/0.5397, allocations: 2.505 MB / 0.83 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.5418, allocations: 0.8688 MB / 0.8309 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.5424, allocations: 290.7 kB / 0.8312 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-05/0.5425, allocations: 32.67 kB / 0.8312 GB, free: 5.762 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008507/0.5433, allocations: 451.2 kB / 0.8316 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.405e-06/0.5433, allocations: 0 / 0.8316 GB, free: 5.305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.003268/0.5466, allocations: 1.124 MB / 0.8327 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.5467, allocations: 188.6 kB / 0.8329 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008117/0.5476, allocations: 0.5979 MB / 0.8335 GB, free: 3.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.189e-05/0.5476, allocations: 37.7 kB / 0.8335 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.548, allocations: 385 kB / 0.8339 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002465/0.5482, allocations: 269.7 kB / 0.8341 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.5485, allocations: 138.2 kB / 0.8343 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.5487, allocations: 386.7 kB / 0.8346 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.5492, allocations: 225.2 kB / 0.8349 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006128/0.5498, allocations: 338.7 kB / 0.8352 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.5509, allocations: 0.5473 MB / 0.8357 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.551, allocations: 4 kB / 0.8357 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001922/0.5529, allocations: 0.7592 MB / 0.8365 GB, free: 196 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5529, allocations: 6.344 kB / 0.8365 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.5529, allocations: 4 kB / 0.8365 GB, free: 188 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006099/0.5535, allocations: 84.77 kB / 0.8365 GB, free: 100 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006232/0.5542, allocations: 143.8 kB / 0.8367 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.5564, allocations: 1.634 MB / 0.8383 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006281/0.5571, allocations: 83.53 kB / 0.8384 GB, free: 14.09 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.116e-05/0.5571, allocations: 31.97 kB / 0.8384 GB, free: 14.06 MB / 0.67 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.0004017/0.5575, allocations: 257.6 kB / 0.8386 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/0.5577, allocations: 83.48 kB / 0.8387 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.5602, allocations: 1.049 MB / 0.8397 GB, free: 12.66 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.5602, allocations: 8 kB / 0.8397 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/0.5602, allocations: 7.938 kB / 0.8398 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.5602, allocations: 7.922 kB / 0.8398 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.5636, allocations: 1.936 MB / 0.8417 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5636, allocations: 0 / 0.8417 GB, free: 10.64 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006654/0.5643, allocations: 155.8 kB / 0.8418 GB, free: 10.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.5647, allocations: 72.77 kB / 0.8419 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.346e-05/0.5648, allocations: 23.98 kB / 0.8419 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.5668, allocations: 1.67 MB / 0.8435 GB, free: 8.57 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5668, allocations: 0 / 0.8435 GB, free: 8.57 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.5688, allocations: 0.9672 MB / 0.8445 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.5692, allocations: 264.2 kB / 0.8447 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5693, allocations: 20 kB / 0.8447 GB, free: 7.289 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000573/0.5699, allocations: 55.94 kB / 0.8448 GB, free: 7.234 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.57, allocations: 64.91 kB / 0.8449 GB, free: 7.172 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.5701, allocations: 31.98 kB / 0.8449 GB, free: 7.141 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005675/0.5707, allocations: 439 kB / 0.8453 GB, free: 6.719 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5707, allocations: 0 / 0.8453 GB, free: 6.719 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008382/0.5715, allocations: 311.1 kB / 0.8456 GB, free: 6.414 MB / 0.67 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.004107/0.5756, allocations: 2.024 MB / 0.8476 GB, free: 4.543 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001691/0.5774, allocations: 0.7707 MB / 0.8483 GB, free: 3.754 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5774, allocations: 3.938 kB / 0.8483 GB, free: 3.75 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009191/0.5783, allocations: 0.5002 MB / 0.8488 GB, free: 3.238 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.5795, allocations: 295.2 kB / 0.8491 GB, free: 2.973 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/0.5902, allocations: 6.068 MB / 0.855 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006968/0.5909, allocations: 1.008 MB / 0.856 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0008094/0.5917, allocations: 266.5 kB / 0.8563 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/0.5923, allocations: 379.2 kB / 0.8566 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.5923, allocations: 0 / 0.8566 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.318/0.9104, allocations: 20.6 MB / 0.8767 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.76, allocations: 5.875 kB / 0.8767 GB, free: 189.5 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)