Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.ZenithAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IDEAS_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.0007736/0.0007736, allocations: 86.48 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.001212/0.001212, 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.297/1.297, allocations: 223.2 MB / 240 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7266/0.7266, allocations: 132.3 MB / 423.4 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003449/0.0003452, allocations: 8 kB / 0.5035 GB, free: 4.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3987, allocations: 81.58 MB / 0.5832 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.003791/0.4025, allocations: 3.536 MB / 0.5866 GB, free: 1.461 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.144/0.5466, allocations: 136.7 MB / 0.7201 GB, free: 3.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.5472, allocations: 11.94 kB / 0.7201 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004244/0.5476, allocations: 127 kB / 0.7202 GB, free: 3.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.5487, allocations: 395.4 kB / 0.7206 GB, free: 3.457 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.5501, allocations: 0.6026 MB / 0.7212 GB, free: 2.863 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009069/0.551, allocations: 1.02 MB / 0.7222 GB, free: 1.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005985/0.5516, allocations: 475.1 kB / 0.7226 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.552, allocations: 298.6 kB / 0.7229 GB, free: 1.078 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003442/0.5523, allocations: 318.3 kB / 0.7232 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.972e-05/0.5524, allocations: 20 kB / 0.7232 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005384/0.5529, allocations: 327.7 kB / 0.7236 GB, free: 436 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001601/0.5531, allocations: 163.2 kB / 0.7237 GB, free: 272 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.5532, allocations: 181.2 kB / 0.7239 GB, free: 84 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009166/0.5542, allocations: 1.068 MB / 0.7249 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5542, allocations: 0 / 0.7249 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5542, allocations: 0 / 0.7249 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.5542, allocations: 0 / 0.7249 GB, free: 15.01 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.001684/0.5559, allocations: 1.131 MB / 0.726 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.5559, allocations: 8.031 kB / 0.726 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001336/0.5561, allocations: 134.9 kB / 0.7262 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007674/0.5569, allocations: 190.5 kB / 0.7263 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.5577, allocations: 0.6836 MB / 0.727 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.435e-05/0.5578, allocations: 62 kB / 0.7271 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.88e-05/0.5579, allocations: 72 kB / 0.7271 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.5592, allocations: 0.8598 MB / 0.728 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.5592, allocations: 4 kB / 0.728 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.5593, allocations: 32 kB / 0.728 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.5593, allocations: 16 kB / 0.728 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.5609, allocations: 1.073 MB / 0.7291 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003164/0.564, allocations: 2.402 MB / 0.7314 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.5652, allocations: 0.7944 MB / 0.7322 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.5656, allocations: 278.4 kB / 0.7325 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.431e-05/0.5657, allocations: 36.58 kB / 0.7325 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006855/0.5664, allocations: 428.1 kB / 0.7329 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=72): time 1.933e-06/0.5664, allocations: 4 kB / 0.7329 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.002444/0.5689, allocations: 1.081 MB / 0.734 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/0.569, allocations: 192.6 kB / 0.7342 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.5696, allocations: 0.5822 MB / 0.7347 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.5697, allocations: 37.7 kB / 0.7348 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/0.5699, allocations: 372.4 kB / 0.7351 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.5701, allocations: 240.5 kB / 0.7353 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.5701, allocations: 16 kB / 0.7354 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5703, allocations: 378.8 kB / 0.7357 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.5707, allocations: 213.2 kB / 0.7359 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/0.5711, allocations: 322.7 kB / 0.7362 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.5716, allocations: 259.1 kB / 0.7365 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5716, allocations: 4 kB / 0.7365 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001438/0.5731, allocations: 0.7236 MB / 0.7372 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.5731, allocations: 4 kB / 0.7372 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5731, allocations: 4 kB / 0.7372 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005025/0.5736, allocations: 80.88 kB / 0.7373 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.5742, allocations: 139.8 kB / 0.7374 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00183/0.576, allocations: 1.52 MB / 0.7389 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.5765, allocations: 79.41 kB / 0.739 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.5766, allocations: 36.03 kB / 0.739 GB, free: 56 kB / 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.00032/0.5769, allocations: 253.5 kB / 0.7392 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.999e-05/0.577, allocations: 79.06 kB / 0.7393 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002148/0.5791, allocations: 1.01 MB / 0.7403 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.5792, allocations: 8 kB / 0.7403 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5792, allocations: 4 kB / 0.7403 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.5792, allocations: 3.984 kB / 0.7403 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.5819, allocations: 1.862 MB / 0.7421 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.582, allocations: 0 / 0.7421 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.5825, allocations: 143.8 kB / 0.7423 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000436/0.5829, allocations: 92.7 kB / 0.7424 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/0.583, allocations: 19.98 kB / 0.7424 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.5846, allocations: 1.548 MB / 0.7439 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5846, allocations: 0 / 0.7439 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001532/0.5861, allocations: 0.9258 MB / 0.7448 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002938/0.5864, allocations: 268 kB / 0.745 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.032e-05/0.5865, allocations: 16 kB / 0.7451 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.587, allocations: 71.94 kB / 0.7451 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.5871, allocations: 60.89 kB / 0.7452 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.5872, allocations: 31.98 kB / 0.7452 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004646/0.5877, allocations: 427 kB / 0.7456 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5877, allocations: 0 / 0.7456 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007383/0.5884, allocations: 283.2 kB / 0.7459 GB, free: 8.73 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 (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.002849/0.5913, allocations: 1.951 MB / 0.7478 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.5925, allocations: 0.72 MB / 0.7485 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5926, allocations: 4 kB / 0.7485 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007432/0.5933, allocations: 0.4885 MB / 0.749 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.5943, allocations: 261.4 kB / 0.7492 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007908/0.6022, allocations: 4.654 MB / 0.7538 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005062/0.6028, allocations: 0.9963 MB / 0.7548 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000716/0.6035, allocations: 253.7 kB / 0.755 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.604, allocations: 359.3 kB / 0.7553 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of SimCode: time 2.61e-07/0.604, allocations: 0 / 0.7553 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03489/0.6389, allocations: 19.8 MB / 0.7747 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/0.6391, allocations: 283.7 kB / 0.7749 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/2.866, allocations: 4 kB / 0.775 GB, free: 11.4 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) Environment - environmentSimulation: