Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001085/0.001085, allocations: 196.4 kB / 16.14 MB, free: 6.715 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.283/1.283, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7038/0.7038, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 62.92 kB / 0.5012 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1394, allocations: 80.2 MB / 0.5795 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.005912/0.1453, allocations: 4.504 MB / 0.5839 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3756/0.521, allocations: 148.3 MB / 0.7287 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006357/0.5216, allocations: 16.44 kB / 0.7287 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005228/0.5222, allocations: 150.5 kB / 0.7289 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.5234, allocations: 415.4 kB / 0.7293 GB, free: 2.648 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001531/0.525, allocations: 0.7151 MB / 0.73 GB, free: 2.258 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001023/0.526, allocations: 1.23 MB / 0.7312 GB, free: 1.66 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.527, allocations: 0.8861 MB / 0.732 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004874/0.5275, allocations: 484.5 kB / 0.7325 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005316/0.5281, allocations: 0.5434 MB / 0.733 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001374/0.5282, allocations: 86.22 kB / 0.7331 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006987/0.5289, allocations: 428.5 kB / 0.7335 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.5292, allocations: 288.4 kB / 0.7338 GB, free: 368 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004581/0.5296, allocations: 0.5864 MB / 0.7344 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.531, allocations: 1.742 MB / 0.7361 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.5311, allocations: 0 / 0.7361 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.11e-07/0.5311, allocations: 0 / 0.7361 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.5311, allocations: 0 / 0.7361 GB, free: 15.18 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.00232/0.5334, allocations: 1.588 MB / 0.7376 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.5335, allocations: 9.688 kB / 0.7376 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000182/0.5336, allocations: 176 kB / 0.7378 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008922/0.5345, allocations: 212.7 kB / 0.738 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009866/0.5355, allocations: 0.8155 MB / 0.7388 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/0.5356, allocations: 84.45 kB / 0.7389 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/0.5357, allocations: 110.4 kB / 0.739 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.5375, allocations: 1.135 MB / 0.7401 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.5375, allocations: 4 kB / 0.7401 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.482e-05/0.5376, allocations: 51.06 kB / 0.7401 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.5376, allocations: 28.59 kB / 0.7402 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.5395, allocations: 1.231 MB / 0.7414 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003999/0.5435, allocations: 3.024 MB / 0.7443 GB, free: 9.316 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.5447, allocations: 0.769 MB / 0.7451 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004513/0.5452, allocations: 299.2 kB / 0.7454 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.132e-05/0.5453, allocations: 34.12 kB / 0.7454 GB, free: 8.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007581/0.546, allocations: 452.2 kB / 0.7458 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.114e-06/0.546, allocations: 0 / 0.7458 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.00275/0.5488, allocations: 1.136 MB / 0.7469 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.148e-05/0.5489, allocations: 188.6 kB / 0.7471 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/0.5497, allocations: 0.6882 MB / 0.7478 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.5497, allocations: 41.64 kB / 0.7478 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.5501, allocations: 0.5034 MB / 0.7483 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.5502, allocations: 252.3 kB / 0.7486 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002231/0.5505, allocations: 146.5 kB / 0.7487 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.5506, allocations: 334 kB / 0.749 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004405/0.551, allocations: 229.9 kB / 0.7492 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.5516, allocations: 346.6 kB / 0.7496 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009693/0.5526, allocations: 0.5838 MB / 0.7501 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5526, allocations: 7.875 kB / 0.7501 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001734/0.5543, allocations: 0.794 MB / 0.7509 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5543, allocations: 5.719 kB / 0.7509 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5543, allocations: 0 / 0.7509 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005858/0.5549, allocations: 80.88 kB / 0.751 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006122/0.5556, allocations: 147.9 kB / 0.7511 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.5575, allocations: 1.53 MB / 0.7526 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005526/0.558, allocations: 91.2 kB / 0.7527 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.166e-05/0.5581, allocations: 23.98 kB / 0.7527 GB, free: 1.211 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 (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 (84): * Single equations (assignments): 83 * 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.0003831/0.5585, allocations: 275.2 kB / 0.753 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.5586, allocations: 82.97 kB / 0.7531 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.5608, allocations: 1.038 MB / 0.7541 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.967e-06/0.5608, allocations: 8 kB / 0.7541 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5608, allocations: 4.062 kB / 0.7541 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.5608, allocations: 7.984 kB / 0.7541 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.5619, allocations: 0.9834 MB / 0.7551 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5619, allocations: 0 / 0.7551 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.5625, allocations: 151.7 kB / 0.7552 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005053/0.563, allocations: 84.77 kB / 0.7553 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.5631, allocations: 23.98 kB / 0.7553 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.5647, allocations: 1.537 MB / 0.7568 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.5647, allocations: 0 / 0.7568 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.5665, allocations: 0.8887 MB / 0.7577 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.5668, allocations: 275.6 kB / 0.758 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.567, allocations: 19.94 kB / 0.758 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.5675, allocations: 57.81 kB / 0.758 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.5676, allocations: 60.91 kB / 0.7581 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.5677, allocations: 35.73 kB / 0.7581 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005859/0.5683, allocations: 0.4912 MB / 0.7586 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5683, allocations: 0 / 0.7586 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000856/0.5691, allocations: 334.9 kB / 0.7589 GB, free: 10.63 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.003269/0.5724, allocations: 1.923 MB / 0.7608 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001454/0.5739, allocations: 0.7641 MB / 0.7616 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5739, allocations: 0 / 0.7616 GB, free: 8.133 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008503/0.5748, allocations: 0.5048 MB / 0.762 GB, free: 7.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5759, allocations: 282.8 kB / 0.7623 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.5878, allocations: 7.439 MB / 0.7696 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006016/0.5885, allocations: 1.082 MB / 0.7706 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008455/0.5893, allocations: 270.9 kB / 0.7709 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005676/0.5899, allocations: 455.2 kB / 0.7713 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.5899, allocations: 0 / 0.7713 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5857/1.176, allocations: 20.91 MB / 0.7917 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003562/1.176, allocations: 296 kB / 0.792 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.679, allocations: 4 kB / 0.792 GB, free: 9.016 MB / 0.6075 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)