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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.006982/0.006982, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8856/0.8856, allocations: 135.2 MB / 151 MB, free: 13.78 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.505/1.505, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.00104/0.00104, allocations: 101.8 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003355, allocations: 15.98 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4368, allocations: 82.31 MB / 0.6495 GB, free: 36.11 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.118/4.555, allocations: 1.695 GB / 2.344 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002995/4.555, allocations: 93.97 kB / 2.344 GB, free: 186.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1685/4.724, allocations: 80.81 MB / 2.423 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.177e-06/4.724, allocations: 0 / 2.423 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.701e-05/4.724, allocations: 31.31 kB / 2.423 GB, free: 164.5 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002386/4.726, allocations: 1.395 MB / 2.425 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/4.726, allocations: 7.75 kB / 2.425 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001861/4.726, allocations: 174.3 kB / 2.425 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008504/4.727, allocations: 225.2 kB / 2.425 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001076/4.728, allocations: 0.7113 MB / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/4.728, allocations: 87.94 kB / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/4.729, allocations: 111.2 kB / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/4.73, allocations: 1.124 MB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.319e-05/4.73, allocations: 0 / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.65e-05/4.73, allocations: 51.77 kB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/4.73, allocations: 29.62 kB / 2.427 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/4.732, allocations: 1.243 MB / 2.428 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004098/4.736, allocations: 3.063 MB / 2.431 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/4.738, allocations: 0.7894 MB / 2.432 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.109e-05/4.738, allocations: 39.52 kB / 2.432 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006839/4.738, allocations: 453.1 kB / 2.432 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 2.254e-06/4.738, allocations: 0 / 2.432 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=78): time 0.00282/4.741, allocations: 1.165 MB / 2.434 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/4.741, allocations: 247.6 kB / 2.434 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009157/4.742, allocations: 0.6716 MB / 2.434 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/4.742, allocations: 42.48 kB / 2.434 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/4.743, allocations: 0.4895 MB / 2.435 GB, free: 159 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/4.743, allocations: 248.8 kB / 2.435 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/4.743, allocations: 13.75 kB / 2.435 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/4.743, allocations: 335.6 kB / 2.436 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004157/4.743, allocations: 241.4 kB / 2.436 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004946/4.744, allocations: 360.3 kB / 2.436 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/4.744, allocations: 289.9 kB / 2.436 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/4.744, allocations: 4 kB / 2.436 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001614/4.746, allocations: 0.798 MB / 2.437 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/4.746, allocations: 7.953 kB / 2.437 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/4.746, allocations: 0 / 2.437 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/4.747, allocations: 91.92 kB / 2.437 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006121/4.747, allocations: 143.4 kB / 2.437 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/4.749, allocations: 1.53 MB / 2.439 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006328/4.75, allocations: 89.97 kB / 2.439 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/4.75, allocations: 25.73 kB / 2.439 GB, free: 155.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (83): * Single equations (assignments): 82 * 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.0005633/4.75, allocations: 272.5 kB / 2.439 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/4.75, allocations: 106.8 kB / 2.439 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002157/4.753, allocations: 1.041 MB / 2.44 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/4.753, allocations: 8 kB / 2.44 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/4.753, allocations: 0 / 2.44 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/4.753, allocations: 8.094 kB / 2.44 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/4.754, allocations: 1.02 MB / 2.441 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/4.754, allocations: 0 / 2.441 GB, free: 153.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/4.754, allocations: 147.8 kB / 2.442 GB, free: 153.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/4.755, allocations: 84.77 kB / 2.442 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/4.755, allocations: 23.98 kB / 2.442 GB, free: 153 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/4.757, allocations: 1.56 MB / 2.443 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/4.757, allocations: 4.031 kB / 2.443 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/4.758, allocations: 0.9042 MB / 2.444 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004879/4.759, allocations: 299.6 kB / 2.444 GB, free: 150.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/4.759, allocations: 16 kB / 2.444 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00054/4.76, allocations: 63.95 kB / 2.444 GB, free: 150 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/4.76, allocations: 68.86 kB / 2.444 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.559e-05/4.76, allocations: 27.98 kB / 2.444 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006513/4.76, allocations: 0.542 MB / 2.445 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/4.76, allocations: 0 / 2.445 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001273/4.762, allocations: 402.8 kB / 2.445 GB, free: 148.9 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.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 (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.003695/4.765, allocations: 2.401 MB / 2.448 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001474/4.767, allocations: 0.7765 MB / 2.448 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/4.767, allocations: 4.125 kB / 2.449 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007456/4.768, allocations: 0.5003 MB / 2.449 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/4.769, allocations: 257.4 kB / 2.449 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009293/4.778, allocations: 5.863 MB / 2.455 GB, free: 139.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004705/4.779, allocations: 1.109 MB / 2.456 GB, free: 138 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008849/4.779, allocations: 266.8 kB / 2.456 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/4.78, allocations: 455.2 kB / 2.457 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/4.78, allocations: 0 / 2.457 GB, free: 137.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05317/4.833, allocations: 31.11 MB / 2.487 GB, free: 106.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/4.833, allocations: 258.7 kB / 2.487 GB, free: 106.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.091/7.924, allocations: 3.938 kB / 2.487 GB, free: 106.2 MB / 0.6823 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/linux/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)