Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001205/0.001205, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 196.1 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7062/0.7062, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.5 kB / 0.5019 GB, free: 3.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.344, allocations: 80.19 MB / 0.5802 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness): time 0.005397/0.3494, allocations: 4.196 MB / 0.5843 GB, free: 1.582 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1477/0.4971, allocations: 150.5 MB / 0.7312 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008634/0.498, allocations: 15.94 kB / 0.7313 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006694/0.4987, allocations: 174.4 kB / 0.7314 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001789/0.5005, allocations: 472.2 kB / 0.7319 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.5026, allocations: 0.805 MB / 0.7327 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.5039, allocations: 1.199 MB / 0.7338 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009624/0.5049, allocations: 0.7115 MB / 0.7345 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005969/0.5055, allocations: 458.4 kB / 0.735 GB, free: 2.422 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006351/0.5061, allocations: 492.5 kB / 0.7354 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002209/0.5063, allocations: 120 kB / 0.7355 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009041/0.5072, allocations: 463.5 kB / 0.736 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.5075, allocations: 295 kB / 0.7363 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005426/0.5081, allocations: 0.5401 MB / 0.7368 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.5099, allocations: 1.538 MB / 0.7383 GB, free: 15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.5099, allocations: 4 kB / 0.7383 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5099, allocations: 0 / 0.7383 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.283e-05/0.5099, allocations: 0 / 0.7383 GB, free: 14.99 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002431/0.5124, allocations: 1.4 MB / 0.7397 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.5124, allocations: 16.03 kB / 0.7397 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001628/0.5126, allocations: 143.8 kB / 0.7398 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.5142, allocations: 299.3 kB / 0.7401 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009934/0.5152, allocations: 0.7226 MB / 0.7408 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.094e-05/0.5153, allocations: 73.94 kB / 0.7409 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.5154, allocations: 88 kB / 0.741 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.5172, allocations: 1.011 MB / 0.742 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.5172, allocations: 0 / 0.742 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.603e-05/0.5173, allocations: 36 kB / 0.742 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.5173, allocations: 20 kB / 0.742 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.5194, allocations: 1.225 MB / 0.7432 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.5232, allocations: 2.579 MB / 0.7457 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.5255, allocations: 0.9352 MB / 0.7466 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/0.5262, allocations: 330.7 kB / 0.747 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.714e-05/0.5263, allocations: 32.67 kB / 0.747 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009827/0.5273, allocations: 487.2 kB / 0.7475 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=75): time 2.685e-06/0.5273, allocations: 0 / 0.7475 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of matching and sorting (n=75): time 0.00332/0.5306, allocations: 1.238 MB / 0.7487 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.5307, allocations: 192.6 kB / 0.7488 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006531/0.5313, allocations: 0.6055 MB / 0.7494 GB, free: 3.262 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.503e-05/0.5314, allocations: 41.64 kB / 0.7495 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5317, allocations: 412.1 kB / 0.7499 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.5318, allocations: 244.4 kB / 0.7501 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.532, allocations: 138.2 kB / 0.7502 GB, free: 2.422 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5322, allocations: 378.8 kB / 0.7506 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006374/0.5328, allocations: 269.1 kB / 0.7509 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.5336, allocations: 370.8 kB / 0.7512 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.5349, allocations: 0.6331 MB / 0.7518 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.5349, allocations: 0 / 0.7518 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00207/0.537, allocations: 0.8289 MB / 0.7526 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.537, allocations: 7.938 kB / 0.7526 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.5371, allocations: 3.938 kB / 0.7526 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/0.5376, allocations: 84.86 kB / 0.7527 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.5383, allocations: 163.8 kB / 0.7529 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.5401, allocations: 1.626 MB / 0.7545 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000649/0.5408, allocations: 101.9 kB / 0.7546 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.5409, allocations: 36.05 kB / 0.7546 GB, free: 13.75 MB / 0.5919 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 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003466/0.5412, allocations: 253.6 kB / 0.7548 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.5414, allocations: 75.06 kB / 0.7549 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.544, allocations: 1.104 MB / 0.756 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.544, allocations: 15.94 kB / 0.756 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.544, allocations: 0 / 0.756 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.544, allocations: 3.984 kB / 0.756 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.5475, allocations: 2.039 MB / 0.758 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.5475, allocations: 0 / 0.758 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006978/0.5482, allocations: 163.8 kB / 0.7582 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/0.5486, allocations: 80.72 kB / 0.7582 GB, free: 9.938 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/0.5487, allocations: 23.98 kB / 0.7583 GB, free: 9.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.5504, allocations: 1.658 MB / 0.7599 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5504, allocations: 4.031 kB / 0.7599 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.5526, allocations: 1.027 MB / 0.7609 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002892/0.5529, allocations: 259.8 kB / 0.7611 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.553, allocations: 19.94 kB / 0.7612 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006684/0.5537, allocations: 75.92 kB / 0.7612 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.5538, allocations: 60.91 kB / 0.7613 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.5538, allocations: 31.98 kB / 0.7613 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004959/0.5543, allocations: 443 kB / 0.7617 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5543, allocations: 0 / 0.7617 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007439/0.5551, allocations: 295.2 kB / 0.762 GB, free: 5.887 MB / 0.5919 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003501/0.5586, allocations: 2.064 MB / 0.764 GB, free: 4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002445/0.5611, allocations: 1.036 MB / 0.765 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5611, allocations: 0 / 0.765 GB, free: 2.949 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.5621, allocations: 0.5315 MB / 0.7656 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.5632, allocations: 298 kB / 0.7658 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01076/0.574, allocations: 6.555 MB / 0.7722 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.5745, allocations: 1.019 MB / 0.7732 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008417/0.5754, allocations: 266.2 kB / 0.7735 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.5759, allocations: 379.3 kB / 0.7739 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.5759, allocations: 7.938 kB / 0.7739 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.688/1.264, allocations: 20.56 MB / 0.7939 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/12.19, allocations: 14.53 kB / 0.794 GB, free: 5.621 MB / 0.6231 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)