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.000883/0.000883, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009059/0.0009059, allocations: 177.3 kB / 15.94 MB, free: 228 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.222/1.222, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6987/0.6987, allocations: 132.3 MB / 423.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002868, allocations: 8 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3977/0.398, allocations: 81.58 MB / 0.583 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.003517/0.4015, allocations: 3.542 MB / 0.5864 GB, free: 1.508 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1365/0.5381, allocations: 127.5 MB / 0.711 GB, free: 13.22 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005065/0.5386, allocations: 19.88 kB / 0.711 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003202/0.539, allocations: 75.33 kB / 0.7111 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.5402, allocations: 473.3 kB / 0.7115 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.5417, allocations: 0.633 MB / 0.7121 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.5428, allocations: 0.7637 MB / 0.7129 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006987/0.5435, allocations: 491.1 kB / 0.7133 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004967/0.544, allocations: 318.6 kB / 0.7136 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.5444, allocations: 310.4 kB / 0.7139 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.647e-05/0.5445, allocations: 24 kB / 0.714 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007398/0.5452, allocations: 323.6 kB / 0.7143 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.5455, allocations: 175.3 kB / 0.7144 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.5456, allocations: 181.1 kB / 0.7146 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.5467, allocations: 1.107 MB / 0.7157 GB, free: 8.363 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.5467, allocations: 3.938 kB / 0.7157 GB, free: 8.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5467, allocations: 0 / 0.7157 GB, free: 8.359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.5467, allocations: 4 kB / 0.7157 GB, free: 8.355 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.001858/0.5486, allocations: 1.163 MB / 0.7168 GB, free: 7.145 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.5486, allocations: 12.03 kB / 0.7169 GB, free: 7.133 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001599/0.5488, allocations: 131.2 kB / 0.717 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008074/0.5496, allocations: 198.4 kB / 0.7172 GB, free: 6.801 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009368/0.5505, allocations: 0.6875 MB / 0.7178 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.5506, allocations: 62 kB / 0.7179 GB, free: 6.008 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/0.5507, allocations: 80 kB / 0.718 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.552, allocations: 0.8871 MB / 0.7188 GB, free: 5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.5521, allocations: 3.938 kB / 0.7188 GB, free: 4.996 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.385e-05/0.5521, allocations: 36 kB / 0.7189 GB, free: 4.961 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.5522, allocations: 20 kB / 0.7189 GB, free: 4.941 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001566/0.5537, allocations: 1.104 MB / 0.72 GB, free: 3.836 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003651/0.5574, allocations: 2.556 MB / 0.7225 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.5591, allocations: 0.865 MB / 0.7233 GB, free: 332 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.302e-05/0.5592, allocations: 36.67 kB / 0.7234 GB, free: 296 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006933/0.5599, allocations: 451.1 kB / 0.7238 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=76): time 2.234e-06/0.5599, allocations: 0 / 0.7238 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=76): time 0.002661/0.5625, allocations: 1.124 MB / 0.7249 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.5626, allocations: 196.5 kB / 0.7251 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.5633, allocations: 0.5941 MB / 0.7256 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.5634, allocations: 41.7 kB / 0.7257 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/0.5636, allocations: 376.3 kB / 0.726 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.5638, allocations: 256.2 kB / 0.7263 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.5638, allocations: 16 kB / 0.7263 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.564, allocations: 374.8 kB / 0.7267 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004152/0.5644, allocations: 229.2 kB / 0.7269 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.5649, allocations: 330.8 kB / 0.7272 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.5654, allocations: 283 kB / 0.7275 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5654, allocations: 0 / 0.7275 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001561/0.567, allocations: 0.7588 MB / 0.7282 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.567, allocations: 5.875 kB / 0.7282 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.567, allocations: 0 / 0.7282 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005347/0.5675, allocations: 84.83 kB / 0.7283 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005664/0.5681, allocations: 151.8 kB / 0.7284 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.57, allocations: 1.534 MB / 0.7299 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005569/0.5705, allocations: 95.42 kB / 0.73 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.5706, allocations: 31.97 kB / 0.7301 GB, free: 9.125 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: 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.0003134/0.5709, allocations: 249.6 kB / 0.7303 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.571, allocations: 79.06 kB / 0.7304 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.5732, allocations: 1.069 MB / 0.7314 GB, free: 7.715 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.5732, allocations: 11.98 kB / 0.7314 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5732, allocations: 3.953 kB / 0.7314 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.5732, allocations: 3.984 kB / 0.7314 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.5761, allocations: 1.943 MB / 0.7333 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.5762, allocations: 0 / 0.7333 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005656/0.5767, allocations: 155.8 kB / 0.7335 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004657/0.5772, allocations: 92.69 kB / 0.7336 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.5773, allocations: 23.98 kB / 0.7336 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.5789, allocations: 1.56 MB / 0.7351 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.5789, allocations: 0 / 0.7351 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.5806, allocations: 0.9608 MB / 0.7361 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003357/0.5809, allocations: 279.7 kB / 0.7363 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/0.581, allocations: 16 kB / 0.7363 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005581/0.5816, allocations: 75.77 kB / 0.7364 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.5817, allocations: 68.86 kB / 0.7365 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.955e-05/0.5818, allocations: 43.92 kB / 0.7365 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004662/0.5823, allocations: 427 kB / 0.7369 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.363e-06/0.5823, allocations: 0 / 0.7369 GB, free: 1.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000758/0.583, allocations: 311.2 kB / 0.7372 GB, free: 1.535 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 (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.002998/0.586, allocations: 2.008 MB / 0.7392 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.5874, allocations: 0.7629 MB / 0.7399 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5874, allocations: 0 / 0.7399 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.5882, allocations: 0.5119 MB / 0.7404 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009302/0.5892, allocations: 236.9 kB / 0.7407 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008305/0.5975, allocations: 5.217 MB / 0.7457 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005442/0.598, allocations: 1.032 MB / 0.7468 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007848/0.5988, allocations: 262.5 kB / 0.747 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004987/0.5993, allocations: 371.3 kB / 0.7474 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of SimCode: time 4.429e-06/0.5994, allocations: 0 / 0.7474 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.445/3.044, allocations: 20.44 MB / 0.7673 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/3.044, allocations: 268.8 kB / 0.7676 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.158/6.203, allocations: 3.375 kB / 0.7676 GB, free: 2.844 MB / 0.5919 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: