Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.001364/0.001365, 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.001492/0.001492, 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.332/1.332, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9044/0.9044, allocations: 135.3 MB / 426.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003163, allocations: 15.98 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1497, allocations: 82.31 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004305/0.1541, allocations: 3.576 MB / 0.591 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3931/0.5472, allocations: 136.8 MB / 0.7246 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004839/0.5477, allocations: 17.91 kB / 0.7246 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000415/0.5481, allocations: 130.3 kB / 0.7247 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.5492, allocations: 401.1 kB / 0.7251 GB, free: 7.285 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.5509, allocations: 0.6087 MB / 0.7257 GB, free: 6.984 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.552, allocations: 1.044 MB / 0.7267 GB, free: 6.465 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006788/0.5527, allocations: 470.3 kB / 0.7272 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000461/0.5531, allocations: 310.3 kB / 0.7275 GB, free: 6.141 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.5536, allocations: 331.1 kB / 0.7278 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.579e-05/0.5537, allocations: 30.31 kB / 0.7278 GB, free: 5.98 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007346/0.5544, allocations: 331.1 kB / 0.7281 GB, free: 5.895 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.5546, allocations: 171.7 kB / 0.7283 GB, free: 5.812 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.5548, allocations: 177.8 kB / 0.7285 GB, free: 5.688 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.556, allocations: 1.079 MB / 0.7295 GB, free: 5.402 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.556, allocations: 1.094 kB / 0.7295 GB, free: 5.402 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.493e-06/0.556, allocations: 0.75 kB / 0.7295 GB, free: 5.402 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.556, allocations: 0 / 0.7295 GB, free: 5.402 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001978/0.558, allocations: 1.15 MB / 0.7306 GB, free: 4.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.5581, allocations: 9.562 kB / 0.7306 GB, free: 4.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.5582, allocations: 131.6 kB / 0.7308 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.5591, allocations: 198 kB / 0.731 GB, free: 4.434 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009341/0.56, allocations: 0.684 MB / 0.7316 GB, free: 3.984 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.5601, allocations: 65.17 kB / 0.7317 GB, free: 3.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.5602, allocations: 76.69 kB / 0.7318 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.5617, allocations: 0.8837 MB / 0.7326 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/0.5617, allocations: 5.172 kB / 0.7326 GB, free: 3.516 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.5618, allocations: 36.69 kB / 0.7327 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.761e-05/0.5618, allocations: 19.56 kB / 0.7327 GB, free: 3.488 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.5634, allocations: 1.103 MB / 0.7338 GB, free: 3.234 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003617/0.5671, allocations: 2.522 MB / 0.7362 GB, free: 1.754 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.5683, allocations: 0.7345 MB / 0.7369 GB, free: 1.395 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.5688, allocations: 286.4 kB / 0.7372 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.846e-05/0.5689, allocations: 36.06 kB / 0.7373 GB, free: 1.234 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007279/0.5696, allocations: 444.4 kB / 0.7377 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of pre-optimization done (n=76): time 2.174e-06/0.5696, allocations: 3.938 kB / 0.7377 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.002657/0.5723, allocations: 1.124 MB / 0.7388 GB, free: 348 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.314e-05/0.5724, allocations: 190.8 kB / 0.739 GB, free: 116 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.5731, allocations: 0.5947 MB / 0.7395 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.5732, allocations: 45.02 kB / 0.7396 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002727/0.5734, allocations: 378 kB / 0.7399 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.5736, allocations: 255.6 kB / 0.7402 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.5737, allocations: 15.25 kB / 0.7402 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5739, allocations: 386.2 kB / 0.7406 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004227/0.5743, allocations: 226.9 kB / 0.7408 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.5748, allocations: 343.8 kB / 0.7411 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005087/0.5753, allocations: 282.5 kB / 0.7414 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5754, allocations: 0 / 0.7414 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001592/0.5769, allocations: 0.76 MB / 0.7421 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.577, allocations: 5.406 kB / 0.7421 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.577, allocations: 3.5 kB / 0.7421 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005088/0.5775, allocations: 84.58 kB / 0.7422 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.5781, allocations: 151 kB / 0.7424 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.58, allocations: 1.526 MB / 0.7439 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.5806, allocations: 88.67 kB / 0.7439 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.698e-05/0.5807, allocations: 23.98 kB / 0.744 GB, free: 12.07 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 (81): * Single equations (assignments): 80 * 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.0003791/0.581, allocations: 253.6 kB / 0.7442 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.5812, allocations: 79.06 kB / 0.7443 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.5834, allocations: 1.045 MB / 0.7453 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5834, allocations: 8.875 kB / 0.7453 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5834, allocations: 3.953 kB / 0.7453 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.5834, allocations: 3.984 kB / 0.7453 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.5864, allocations: 1.884 MB / 0.7472 GB, free: 8.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.5864, allocations: 4 kB / 0.7472 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/0.587, allocations: 143.8 kB / 0.7473 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004394/0.5874, allocations: 88.83 kB / 0.7474 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.119e-05/0.5875, allocations: 27.98 kB / 0.7474 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.5891, allocations: 1.536 MB / 0.7489 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5892, allocations: 4.094 kB / 0.7489 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.5909, allocations: 0.9373 MB / 0.7498 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.5912, allocations: 275.7 kB / 0.7501 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.5914, allocations: 20 kB / 0.7501 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005515/0.5919, allocations: 67.94 kB / 0.7502 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.592, allocations: 60.86 kB / 0.7502 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.5921, allocations: 35.98 kB / 0.7503 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005301/0.5926, allocations: 439 kB / 0.7507 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5926, allocations: 0 / 0.7507 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008612/0.5935, allocations: 299.2 kB / 0.751 GB, free: 4.641 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 (87): * Single equations (assignments): 84 * 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.003134/0.5967, allocations: 1.972 MB / 0.7529 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.5981, allocations: 0.747 MB / 0.7536 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5981, allocations: 0 / 0.7536 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008132/0.599, allocations: 0.4965 MB / 0.7541 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.6001, allocations: 250.6 kB / 0.7543 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009335/0.6094, allocations: 4.802 MB / 0.759 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.61, allocations: 1.004 MB / 0.76 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008712/0.6109, allocations: 258.5 kB / 0.7603 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005009/0.6114, allocations: 371.2 kB / 0.7606 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.6114, allocations: 0 / 0.7606 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.6497, allocations: 20.3 MB / 0.7804 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/0.65, allocations: 285.8 kB / 0.7807 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/2.882, allocations: 2.125 kB / 0.7807 GB, free: 6.574 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) Environment - environmentSimulation: