Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.0008046/0.0008046, allocations: 86.95 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.0009311/0.0009312, 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.29/1.29, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7086/0.7086, allocations: 132.3 MB / 423.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003352, allocations: 8 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3846, allocations: 81.57 MB / 0.5832 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005696/0.3904, allocations: 5.206 MB / 0.5882 GB, free: 256 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1453/0.5357, allocations: 137.6 MB / 0.7226 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001434/0.5371, allocations: 23.88 kB / 0.7226 GB, free: 1.383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008844/0.538, allocations: 170.4 kB / 0.7228 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.5401, allocations: 0.4963 MB / 0.7233 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.5429, allocations: 0.9491 MB / 0.7242 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002896/0.5458, allocations: 2.048 MB / 0.7262 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/0.5476, allocations: 1.187 MB / 0.7274 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.5488, allocations: 0.6727 MB / 0.728 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/0.5502, allocations: 0.787 MB / 0.7288 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003685/0.5506, allocations: 60 kB / 0.7289 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001112/0.5517, allocations: 395.6 kB / 0.7292 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004369/0.5522, allocations: 350.4 kB / 0.7296 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.5526, allocations: 360.6 kB / 0.7299 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002364/0.555, allocations: 2.392 MB / 0.7322 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.555, allocations: 0 / 0.7322 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.555, allocations: 0 / 0.7322 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.718e-05/0.5551, allocations: 0 / 0.7322 GB, free: 7.496 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.004599/0.5597, allocations: 2.122 MB / 0.7343 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.5598, allocations: 16.03 kB / 0.7343 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006038/0.5604, allocations: 304.1 kB / 0.7346 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01373/0.5741, allocations: 2.276 MB / 0.7368 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.5766, allocations: 1.161 MB / 0.738 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001545/0.5768, allocations: 168.3 kB / 0.7381 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008208/0.5777, allocations: 208 kB / 0.7383 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0096/0.5873, allocations: 3.205 MB / 0.7415 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.302e-05/0.5874, allocations: 7.984 kB / 0.7415 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004428/0.5878, allocations: 88 kB / 0.7416 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-05/0.5879, allocations: 56 kB / 0.7416 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01219/0.6001, allocations: 4.228 MB / 0.7457 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.6154, allocations: 7.045 MB / 0.7526 GB, free: 2.293 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007574/0.623, allocations: 2.698 MB / 0.7553 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003803/0.6269, allocations: 1.442 MB / 0.7567 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/0.6276, allocations: 0.5035 MB / 0.7572 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004332/0.632, allocations: 1.695 MB / 0.7588 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.927e-06/0.632, allocations: 0 / 0.7588 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01288/0.6449, allocations: 4.224 MB / 0.7629 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/0.6451, allocations: 205.9 kB / 0.7631 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.6465, allocations: 0.8466 MB / 0.764 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003215/0.6468, allocations: 57.7 kB / 0.764 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005954/0.6474, allocations: 0.7113 MB / 0.7647 GB, free: 5.688 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006852/0.6481, allocations: 0.6313 MB / 0.7653 GB, free: 5.047 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.6483, allocations: 28 kB / 0.7654 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6485, allocations: 377.8 kB / 0.7657 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/0.6521, allocations: 1.175 MB / 0.7669 GB, free: 3.469 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003742/0.6558, allocations: 1.363 MB / 0.7682 GB, free: 2.074 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003731/0.6596, allocations: 1.22 MB / 0.7694 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.361e-06/0.6596, allocations: 0 / 0.7694 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.008747/0.6683, allocations: 2.917 MB / 0.7722 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.6684, allocations: 8 kB / 0.7722 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.6684, allocations: 0 / 0.7722 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000532/0.669, allocations: 92.83 kB / 0.7723 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003281/0.6723, allocations: 0.5657 MB / 0.7729 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001961/0.6742, allocations: 1.524 MB / 0.7744 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/0.6769, allocations: 350.2 kB / 0.7747 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/0.6772, allocations: 87.89 kB / 0.7748 GB, free: 11.17 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (207): * Single equations (assignments): 206 * 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.001069/0.6783, allocations: 409.6 kB / 0.7752 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/0.6787, allocations: 134.3 kB / 0.7753 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/0.6888, allocations: 3.515 MB / 0.7787 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/0.6888, allocations: 24 kB / 0.7788 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.6888, allocations: 0 / 0.7788 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-05/0.6889, allocations: 11.95 kB / 0.7788 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/0.7011, allocations: 5.777 MB / 0.7844 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.7012, allocations: 4 kB / 0.7844 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003159/0.7043, allocations: 0.55 MB / 0.785 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004962/0.7049, allocations: 84.78 kB / 0.785 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/0.7051, allocations: 67.92 kB / 0.7851 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001802/0.7069, allocations: 1.551 MB / 0.7866 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.707, allocations: 4.062 kB / 0.7866 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008681/0.7156, allocations: 3.059 MB / 0.7896 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009583/0.7166, allocations: 0.5451 MB / 0.7901 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000379/0.717, allocations: 32 kB / 0.7902 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/0.7194, allocations: 271.5 kB / 0.7904 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/0.7197, allocations: 125.8 kB / 0.7906 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/0.7199, allocations: 83.91 kB / 0.7906 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009614/0.7209, allocations: 0.6349 MB / 0.7913 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7209, allocations: 0 / 0.7913 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001636/0.7225, allocations: 0.5881 MB / 0.7918 GB, free: 9.43 MB / 0.6231 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 (210): * Single equations (assignments): 207 * 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.0101/0.7326, allocations: 4.162 MB / 0.7959 GB, free: 5.457 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.008409/0.7411, allocations: 2.964 MB / 0.7988 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.7411, allocations: 0 / 0.7988 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004312/0.7454, allocations: 1.669 MB / 0.8004 GB, free: 0.8008 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001733/0.7472, allocations: 317 kB / 0.8007 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02845/0.7756, allocations: 11.9 MB / 0.8123 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/0.777, allocations: 1.37 MB / 0.8137 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004005/0.781, allocations: 0.562 MB / 0.8142 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001821/0.7828, allocations: 0.8076 MB / 0.815 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of SimCode: time 7.31e-07/0.7828, allocations: 3.938 kB / 0.815 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3298/1.113, allocations: 38.71 MB / 0.8528 GB, free: 196 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/1.113, allocations: 272.2 kB / 0.8531 GB, free: 195.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/3.894, allocations: 0 / 0.8531 GB, free: 195.6 MB / 0.6387 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: