Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.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.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_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.001204/0.001204, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7422/0.7422, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.604/1.604, allocations: 221.3 MB / 400.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 93.92 kB / 483.3 MB, free: 5.906 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.68e-05/4.682e-05, allocations: 2.531 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1754, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.127/5.302, allocations: 1.694 GB / 2.334 GB, free: 240.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/5.303, allocations: 95.88 kB / 2.334 GB, free: 240.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.126/5.429, allocations: 58.77 MB / 2.392 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.585e-06/5.429, allocations: 0 / 2.392 GB, free: 181.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.162e-05/5.429, allocations: 23.94 kB / 2.392 GB, free: 181.8 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001828/5.431, allocations: 1.07 MB / 2.393 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/5.431, allocations: 8.031 kB / 2.393 GB, free: 180.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/5.431, allocations: 122.8 kB / 2.393 GB, free: 180.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008227/5.432, allocations: 186.6 kB / 2.393 GB, free: 180.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/5.433, allocations: 0.6114 MB / 2.394 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/5.433, allocations: 58 kB / 2.394 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.71e-05/5.433, allocations: 72 kB / 2.394 GB, free: 179.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/5.434, allocations: 0.8171 MB / 2.395 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/5.434, allocations: 0 / 2.395 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.958e-05/5.434, allocations: 36 kB / 2.395 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/5.434, allocations: 23.95 kB / 2.395 GB, free: 178.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/5.435, allocations: 1.015 MB / 2.396 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/5.438, allocations: 2.379 MB / 2.398 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008571/5.439, allocations: 0.6728 MB / 2.399 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/5.439, allocations: 258.4 kB / 2.399 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/5.44, allocations: 28.67 kB / 2.399 GB, free: 174.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005217/5.44, allocations: 405.1 kB / 2.399 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=71): time 2.274e-06/5.44, allocations: 4 kB / 2.399 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=71): time 0.001428/5.441, allocations: 0.6758 MB / 2.4 GB, free: 173.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.127e-05/5.442, allocations: 240.1 kB / 2.4 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005985/5.442, allocations: 0.5738 MB / 2.401 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/5.442, allocations: 45.7 kB / 2.401 GB, free: 172.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001977/5.442, allocations: 372.3 kB / 2.401 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/5.443, allocations: 240.5 kB / 2.401 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/5.443, allocations: 12 kB / 2.401 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.839e-05/5.443, allocations: 378.8 kB / 2.402 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/5.443, allocations: 201.4 kB / 2.402 GB, free: 171 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/5.443, allocations: 305.1 kB / 2.402 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/5.444, allocations: 238 kB / 2.403 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/5.444, allocations: 0 / 2.403 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001233/5.445, allocations: 0.6836 MB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/5.445, allocations: 5.094 kB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/5.445, allocations: 4 kB / 2.403 GB, free: 169.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005537/5.446, allocations: 88.83 kB / 2.403 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/5.446, allocations: 131.8 kB / 2.403 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0016/5.448, allocations: 1.513 MB / 2.405 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/5.448, allocations: 83.44 kB / 2.405 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/5.448, allocations: 23.98 kB / 2.405 GB, free: 167.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001484/5.448, allocations: 144.8 kB / 2.405 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/5.448, allocations: 79.05 kB / 2.405 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/5.45, allocations: 0.9304 MB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/5.45, allocations: 8 kB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/5.45, allocations: 0 / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/5.45, allocations: 3.984 kB / 2.406 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008111/5.451, allocations: 0.8639 MB / 2.407 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/5.451, allocations: 3.938 kB / 2.407 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004827/5.452, allocations: 139.8 kB / 2.407 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/5.452, allocations: 84.78 kB / 2.407 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/5.452, allocations: 19.98 kB / 2.407 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/5.454, allocations: 1.548 MB / 2.409 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/5.454, allocations: 0 / 2.409 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/5.455, allocations: 0.7856 MB / 2.41 GB, free: 163 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/5.455, allocations: 275.7 kB / 2.41 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.111e-05/5.455, allocations: 23.94 kB / 2.41 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/5.456, allocations: 63.95 kB / 2.41 GB, free: 162.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/5.456, allocations: 64.62 kB / 2.41 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/5.456, allocations: 27.98 kB / 2.41 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005128/5.456, allocations: 475.1 kB / 2.41 GB, free: 162 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.51e-07/5.456, allocations: 11.94 kB / 2.41 GB, free: 162 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001152/5.458, allocations: 351.2 kB / 2.411 GB, free: 161.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.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.003269/5.461, allocations: 2.246 MB / 2.413 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001108/5.462, allocations: 0.6667 MB / 2.414 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/5.462, allocations: 0 / 2.414 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006109/5.463, allocations: 459.1 kB / 2.414 GB, free: 158.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/5.464, allocations: 235.8 kB / 2.414 GB, free: 158.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003527/5.467, allocations: 1.528 MB / 2.416 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/5.468, allocations: 1.02 MB / 2.417 GB, free: 155.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007476/5.468, allocations: 257.9 kB / 2.417 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/5.469, allocations: 335.3 kB / 2.417 GB, free: 155 MB / 0.6823 GB Notification: Performance of SimCode: time 1.132e-06/5.469, allocations: 0 / 2.417 GB, free: 155 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05177/5.521, allocations: 30.62 MB / 2.447 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/5.521, allocations: 250.8 kB / 2.447 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.265/8.786, allocations: 0 / 2.447 GB, free: 124.3 MB / 0.6823 GB (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_DiffuseIsotropic.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)