Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ZenithAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_dev_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.0007977/0.0007976, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008544/0.0008545, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 223.3 MB / 240 MB, free: 5.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.905/0.905, allocations: 135.3 MB / 426.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003017, allocations: 12.81 kB / 0.5071 GB, free: 4.984 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1468, allocations: 82.31 MB / 0.5875 GB, free: 2.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00419/0.1511, allocations: 3.522 MB / 0.5909 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3947/0.5458, allocations: 136.7 MB / 0.7244 GB, free: 7.688 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005032/0.5463, allocations: 15.06 kB / 0.7244 GB, free: 7.684 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.5468, allocations: 125.8 kB / 0.7245 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.548, allocations: 386.1 kB / 0.7249 GB, free: 7.402 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.5497, allocations: 0.6127 MB / 0.7255 GB, free: 7.098 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.551, allocations: 1.022 MB / 0.7265 GB, free: 6.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007215/0.5517, allocations: 456.8 kB / 0.7269 GB, free: 6.418 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004752/0.5522, allocations: 299.4 kB / 0.7272 GB, free: 6.293 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004683/0.5527, allocations: 324.7 kB / 0.7275 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.796e-05/0.5528, allocations: 20.84 kB / 0.7275 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008496/0.5536, allocations: 334.4 kB / 0.7278 GB, free: 6.051 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.5538, allocations: 165.7 kB / 0.728 GB, free: 5.973 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.554, allocations: 173.9 kB / 0.7282 GB, free: 5.852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.5555, allocations: 1.06 MB / 0.7292 GB, free: 5.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5555, allocations: 3.938 kB / 0.7292 GB, free: 5.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5555, allocations: 0 / 0.7292 GB, free: 5.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.801e-05/0.5555, allocations: 1.188 kB / 0.7292 GB, free: 5.57 MB / 0.545 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.001961/0.5575, allocations: 1.139 MB / 0.7303 GB, free: 4.766 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.5575, allocations: 8.625 kB / 0.7303 GB, free: 4.766 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/0.5577, allocations: 130.4 kB / 0.7305 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008661/0.5586, allocations: 188.5 kB / 0.7306 GB, free: 4.617 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009855/0.5596, allocations: 0.6813 MB / 0.7313 GB, free: 4.172 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.5596, allocations: 58.12 kB / 0.7314 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5597, allocations: 81.39 kB / 0.7314 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.5612, allocations: 0.8633 MB / 0.7323 GB, free: 3.711 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.5613, allocations: 0 / 0.7323 GB, free: 3.711 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.5614, allocations: 32 kB / 0.7323 GB, free: 3.688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.5614, allocations: 23.62 kB / 0.7323 GB, free: 3.684 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.563, allocations: 1.065 MB / 0.7334 GB, free: 3.441 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.5665, allocations: 2.411 MB / 0.7357 GB, free: 2.086 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.5678, allocations: 0.7952 MB / 0.7365 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004631/0.5682, allocations: 278.6 kB / 0.7368 GB, free: 1.523 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.551e-05/0.5683, allocations: 29.91 kB / 0.7368 GB, free: 1.508 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007066/0.569, allocations: 429.8 kB / 0.7372 GB, free: 1.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=72): time 2.254e-06/0.5691, allocations: 0 / 0.7372 GB, free: 1.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.002519/0.5716, allocations: 1.083 MB / 0.7383 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.5717, allocations: 193.3 kB / 0.7384 GB, free: 428 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.5723, allocations: 0.5866 MB / 0.739 GB, free: 68 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.431e-05/0.5724, allocations: 40.7 kB / 0.7391 GB, free: 24 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.5727, allocations: 371.4 kB / 0.7394 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.5729, allocations: 235.5 kB / 0.7396 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.625e-05/0.5729, allocations: 15.34 kB / 0.7396 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.573, allocations: 375.4 kB / 0.74 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.5734, allocations: 223.6 kB / 0.7402 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.5739, allocations: 316.3 kB / 0.7405 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004601/0.5744, allocations: 267.9 kB / 0.7408 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5744, allocations: 0 / 0.7408 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001499/0.5759, allocations: 0.726 MB / 0.7415 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.5759, allocations: 5.781 kB / 0.7415 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.576, allocations: 4.094 kB / 0.7415 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005253/0.5765, allocations: 79.5 kB / 0.7416 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005348/0.577, allocations: 145.6 kB / 0.7417 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.5789, allocations: 1.519 MB / 0.7432 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.5795, allocations: 86.7 kB / 0.7433 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.5795, allocations: 25.14 kB / 0.7433 GB, free: 12.66 MB / 0.5606 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004113/0.5799, allocations: 248.8 kB / 0.7435 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.5801, allocations: 79.02 kB / 0.7436 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.5822, allocations: 1.018 MB / 0.7446 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.5822, allocations: 8 kB / 0.7446 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.5822, allocations: 0 / 0.7446 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.5823, allocations: 3.984 kB / 0.7446 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.5851, allocations: 1.873 MB / 0.7464 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5851, allocations: 0 / 0.7464 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/0.5857, allocations: 143.8 kB / 0.7466 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004524/0.5861, allocations: 80.78 kB / 0.7467 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/0.5862, allocations: 23.98 kB / 0.7467 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.5878, allocations: 1.544 MB / 0.7482 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5878, allocations: 4.062 kB / 0.7482 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.5895, allocations: 0.914 MB / 0.7491 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.5898, allocations: 271.8 kB / 0.7493 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5899, allocations: 16 kB / 0.7494 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005321/0.5905, allocations: 67.94 kB / 0.7494 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5906, allocations: 64.91 kB / 0.7495 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.5906, allocations: 27.98 kB / 0.7495 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000503/0.5912, allocations: 423 kB / 0.7499 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5912, allocations: 0 / 0.7499 GB, free: 5.672 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000841/0.592, allocations: 295.2 kB / 0.7502 GB, free: 5.383 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003049/0.5951, allocations: 1.947 MB / 0.7521 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001332/0.5964, allocations: 0.7269 MB / 0.7528 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.5964, allocations: 0 / 0.7528 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007834/0.5972, allocations: 497 kB / 0.7533 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.5985, allocations: 260.2 kB / 0.7535 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009393/0.6079, allocations: 4.665 MB / 0.7581 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006266/0.6085, allocations: 1.003 MB / 0.7591 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008574/0.6094, allocations: 246.2 kB / 0.7593 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006568/0.61, allocations: 351.3 kB / 0.7596 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.6101, allocations: 0 / 0.7596 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05568/0.6657, allocations: 19.83 MB / 0.779 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003361/0.6661, allocations: 276.5 kB / 0.7793 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/2.908, allocations: 0 / 0.7793 GB, free: 8.031 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: