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.0008104/0.0008102, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009778/0.0009779, allocations: 168.7 kB / 15.95 MB, free: 204 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.288/1.288, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.724/0.724, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 8.75 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3898/0.3901, allocations: 81.57 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.003889/0.394, allocations: 3.611 MB / 0.5867 GB, free: 1.406 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.149/0.5431, allocations: 136.8 MB / 0.7202 GB, free: 3.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007428/0.5439, allocations: 15.94 kB / 0.7203 GB, free: 3.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000449/0.5443, allocations: 130.9 kB / 0.7204 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.5455, allocations: 389 kB / 0.7208 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.5471, allocations: 0.6376 MB / 0.7214 GB, free: 2.633 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.5481, allocations: 1.055 MB / 0.7224 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006275/0.5488, allocations: 487.1 kB / 0.7229 GB, free: 1.082 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.5492, allocations: 310.6 kB / 0.7232 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.5495, allocations: 334.2 kB / 0.7235 GB, free: 460 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.189e-05/0.5496, allocations: 24 kB / 0.7235 GB, free: 436 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006559/0.5503, allocations: 351.7 kB / 0.7239 GB, free: 84 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001816/0.5505, allocations: 175.3 kB / 0.724 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.5506, allocations: 185.1 kB / 0.7242 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000953/0.5516, allocations: 1.095 MB / 0.7253 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.5516, allocations: 0 / 0.7253 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.607e-06/0.5516, allocations: 4 kB / 0.7253 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.5516, allocations: 3.938 kB / 0.7253 GB, free: 14.62 MB / 0.5606 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.001769/0.5534, allocations: 1.17 MB / 0.7264 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.5534, allocations: 11.97 kB / 0.7264 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001443/0.5536, allocations: 143.1 kB / 0.7266 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007744/0.5544, allocations: 190.5 kB / 0.7267 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008787/0.5552, allocations: 0.6837 MB / 0.7274 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.969e-05/0.5553, allocations: 62 kB / 0.7275 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.462e-05/0.5554, allocations: 80 kB / 0.7275 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.5568, allocations: 0.9062 MB / 0.7284 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.5568, allocations: 0 / 0.7284 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.5569, allocations: 32 kB / 0.7285 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.5569, allocations: 23.95 kB / 0.7285 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.5585, allocations: 1.108 MB / 0.7296 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003491/0.562, allocations: 2.547 MB / 0.7321 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001672/0.5637, allocations: 0.8728 MB / 0.7329 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.5642, allocations: 290.7 kB / 0.7332 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.859e-05/0.5642, allocations: 28.69 kB / 0.7332 GB, free: 6.246 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000711/0.565, allocations: 455.1 kB / 0.7336 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 1.904e-06/0.565, allocations: 0 / 0.7336 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002559/0.5675, allocations: 1.127 MB / 0.7347 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.443e-05/0.5676, allocations: 192.6 kB / 0.7349 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.5683, allocations: 0.594 MB / 0.7355 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.124e-05/0.5684, allocations: 41.7 kB / 0.7356 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.5686, allocations: 380.3 kB / 0.7359 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.5688, allocations: 252.3 kB / 0.7362 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.5688, allocations: 12 kB / 0.7362 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.569, allocations: 382.8 kB / 0.7365 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004163/0.5694, allocations: 229.2 kB / 0.7367 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004954/0.5699, allocations: 334.7 kB / 0.7371 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.5704, allocations: 279.1 kB / 0.7373 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5704, allocations: 4 kB / 0.7373 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001532/0.572, allocations: 0.7549 MB / 0.7381 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.572, allocations: 7.984 kB / 0.7381 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.572, allocations: 4 kB / 0.7381 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004953/0.5725, allocations: 80.84 kB / 0.7382 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.5731, allocations: 147.7 kB / 0.7383 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.5749, allocations: 1.52 MB / 0.7398 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.5754, allocations: 95.38 kB / 0.7399 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.5755, allocations: 39.91 kB / 0.7399 GB, free: 15.08 MB / 0.5762 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 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * 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 (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.0003213/0.5758, allocations: 257.2 kB / 0.7402 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.5759, allocations: 75.06 kB / 0.7402 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.5781, allocations: 1.069 MB / 0.7413 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.5781, allocations: 8 kB / 0.7413 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.5781, allocations: 4 kB / 0.7413 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.5781, allocations: 7.922 kB / 0.7413 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.581, allocations: 1.943 MB / 0.7432 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.581, allocations: 0 / 0.7432 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/0.5816, allocations: 159.8 kB / 0.7433 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004262/0.582, allocations: 84.77 kB / 0.7434 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/0.5821, allocations: 23.98 kB / 0.7435 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00158/0.5836, allocations: 1.548 MB / 0.745 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5837, allocations: 0 / 0.745 GB, free: 9.691 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.5853, allocations: 0.9686 MB / 0.7459 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.5856, allocations: 275.7 kB / 0.7462 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.943e-05/0.5857, allocations: 23.95 kB / 0.7462 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.5863, allocations: 67.94 kB / 0.7463 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.5864, allocations: 64.91 kB / 0.7463 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-05/0.5865, allocations: 35.98 kB / 0.7464 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005041/0.587, allocations: 435 kB / 0.7468 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.587, allocations: 0 / 0.7468 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008021/0.5878, allocations: 307.2 kB / 0.7471 GB, free: 7.504 MB / 0.5762 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 (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.002976/0.5908, allocations: 2.011 MB / 0.749 GB, free: 5.68 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001385/0.5922, allocations: 0.7552 MB / 0.7498 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.5922, allocations: 4 kB / 0.7498 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007734/0.593, allocations: 0.5119 MB / 0.7503 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.594, allocations: 256 kB / 0.7505 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008606/0.6026, allocations: 4.806 MB / 0.7552 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005565/0.6032, allocations: 1.023 MB / 0.7562 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008014/0.604, allocations: 254.5 kB / 0.7564 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004984/0.6045, allocations: 375.2 kB / 0.7568 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.6045, allocations: 0 / 0.7568 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05115/0.6557, allocations: 20.46 MB / 0.7768 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003416/0.656, allocations: 281.4 kB / 0.7771 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.204/2.86, allocations: 4 kB / 0.7771 GB, free: 9.195 MB / 0.6075 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) Environment - environmentSimulation: