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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01223/0.01223, allocations: 170.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.817/0.817, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 406.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009586, allocations: 102.5 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003689, allocations: 19.98 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4468, allocations: 82.29 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.782/4.228, allocations: 1.698 GB / 2.348 GB, free: 18.44 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00035/4.229, allocations: 91.77 kB / 2.348 GB, free: 18.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6385/4.867, allocations: 100 MB / 2.445 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.795e-06/4.867, allocations: 0 / 2.445 GB, free: 197.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001075/4.867, allocations: 47.98 kB / 2.445 GB, free: 197.2 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 508 * Number of variables: 508 Notification: Performance of Generate backend data structure: time 0.004071/4.872, allocations: 2.067 MB / 2.447 GB, free: 195 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/4.872, allocations: 12.03 kB / 2.447 GB, free: 195 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003175/4.872, allocations: 278.9 kB / 2.448 GB, free: 194.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/4.884, allocations: 1.893 MB / 2.45 GB, free: 192.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/4.888, allocations: 1.052 MB / 2.451 GB, free: 191.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/4.888, allocations: 148 kB / 2.451 GB, free: 191.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000447/4.888, allocations: 192 kB / 2.451 GB, free: 191.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007521/4.896, allocations: 3.062 MB / 2.454 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/4.896, allocations: 0 / 2.454 GB, free: 188.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002395/4.896, allocations: 84 kB / 2.454 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.656e-05/4.896, allocations: 48 kB / 2.454 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/4.908, allocations: 4.168 MB / 2.458 GB, free: 184 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01477/4.923, allocations: 6.75 MB / 2.465 GB, free: 177.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007466/4.93, allocations: 2.696 MB / 2.467 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007271/4.931, allocations: 0.4996 MB / 2.468 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004507/4.935, allocations: 1.71 MB / 2.469 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=195): time 4.048e-06/4.935, allocations: 0 / 2.469 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=195): time 0.01336/4.949, allocations: 4.226 MB / 2.474 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.397e-05/4.949, allocations: 253.3 kB / 2.474 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/4.95, allocations: 0.8057 MB / 2.475 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003073/4.95, allocations: 57.81 kB / 2.475 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006373/4.951, allocations: 0.649 MB / 2.475 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005704/4.952, allocations: 0.6313 MB / 2.476 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000152/4.952, allocations: 32 kB / 2.476 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000123/4.952, allocations: 365.9 kB / 2.476 GB, free: 165 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003645/4.956, allocations: 1.171 MB / 2.477 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003782/4.959, allocations: 1.368 MB / 2.479 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003722/4.963, allocations: 1.22 MB / 2.48 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/4.963, allocations: 4 kB / 2.48 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00911/4.972, allocations: 2.909 MB / 2.483 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.208e-05/4.972, allocations: 5.25 kB / 2.483 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/4.972, allocations: 4.078 kB / 2.483 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007027/4.973, allocations: 88.78 kB / 2.483 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003994/4.977, allocations: 0.5695 MB / 2.483 GB, free: 157.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/4.979, allocations: 1.545 MB / 2.485 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/4.983, allocations: 334.3 kB / 2.485 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007342/4.984, allocations: 91.89 kB / 2.485 GB, free: 155.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (206): * Single equations (assignments): 205 * 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.002014/4.986, allocations: 383.7 kB / 2.486 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008469/4.987, allocations: 142.3 kB / 2.486 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01236/4.999, allocations: 3.523 MB / 2.489 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/4.999, allocations: 23.98 kB / 2.489 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/4.999, allocations: 0 / 2.489 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.36e-05/4.999, allocations: 7.969 kB / 2.489 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/5.013, allocations: 5.758 MB / 2.495 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/5.013, allocations: 0 / 2.495 GB, free: 145.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003597/5.017, allocations: 0.55 MB / 2.496 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005392/5.018, allocations: 92.7 kB / 2.496 GB, free: 145 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003723/5.018, allocations: 63.92 kB / 2.496 GB, free: 144.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/5.02, allocations: 1.583 MB / 2.497 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/5.02, allocations: 0 / 2.497 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009599/5.029, allocations: 3.059 MB / 2.5 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/5.031, allocations: 0.549 MB / 2.501 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004918/5.031, allocations: 36 kB / 2.501 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002943/5.034, allocations: 267.7 kB / 2.501 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/5.034, allocations: 125.8 kB / 2.501 GB, free: 139.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/5.035, allocations: 83.92 kB / 2.501 GB, free: 139 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001149/5.036, allocations: 0.6735 MB / 2.502 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.036, allocations: 0 / 2.502 GB, free: 138.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002435/5.038, allocations: 0.6544 MB / 2.503 GB, free: 137.7 MB / 0.6823 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.01116/5.05, allocations: 4.643 MB / 2.507 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.009526/5.059, allocations: 2.964 MB / 2.51 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/5.059, allocations: 0 / 2.51 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00517/5.064, allocations: 1.665 MB / 2.512 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/5.067, allocations: 276.4 kB / 2.512 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03377/5.1, allocations: 12.43 MB / 2.524 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/5.101, allocations: 1.373 MB / 2.525 GB, free: 114.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003512/5.105, allocations: 0.5623 MB / 2.526 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001426/5.106, allocations: 0.7647 MB / 2.527 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.313e-06/5.106, allocations: 0 / 2.527 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07489/5.181, allocations: 47.63 MB / 2.573 GB, free: 65.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/5.181, allocations: 262.8 kB / 2.573 GB, free: 65.12 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.219/9.401, allocations: 0 / 2.573 GB, free: 65.12 MB / 0.6823 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)