Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.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.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",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.001753/0.001753, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7834/0.7834, allocations: 133.5 MB / 141.6 MB, free: 2.859 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 221.5 MB / 395.4 MB, free: 10.8 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.0009492/0.0009489, allocations: 104.7 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.955e-05/1.958e-05, allocations: 4 kB / 0.5535 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5421/0.5422, allocations: 82.31 MB / 0.6339 GB, free: 40.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.55/4.093, allocations: 1.694 GB / 2.328 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/4.093, allocations: 91.95 kB / 2.328 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1358/4.229, allocations: 64.62 MB / 2.391 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.534e-06/4.229, allocations: 0 / 2.391 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001186/4.229, allocations: 23.94 kB / 2.391 GB, free: 14.95 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: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002222/4.231, allocations: 1.126 MB / 2.392 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/4.231, allocations: 8.031 kB / 2.392 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/4.233, allocations: 302.3 kB / 2.392 GB, free: 13.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/4.234, allocations: 0.6347 MB / 2.393 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/4.234, allocations: 32 kB / 2.393 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001597/4.234, allocations: 52 kB / 2.393 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001764/4.236, allocations: 1.054 MB / 2.394 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/4.238, allocations: 0.8006 MB / 2.395 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/4.238, allocations: 0 / 2.395 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/4.238, allocations: 7.953 kB / 2.395 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/4.238, allocations: 20 kB / 2.395 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005142/4.243, allocations: 2.431 MB / 2.397 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/4.245, allocations: 0.8094 MB / 2.398 GB, free: 7.449 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/4.246, allocations: 255.2 kB / 2.398 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/4.246, allocations: 40.7 kB / 2.398 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007901/4.247, allocations: 411.8 kB / 2.399 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 4.048e-06/4.247, allocations: 0 / 2.399 GB, free: 6.738 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.002155/4.249, allocations: 0.6681 MB / 2.399 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/4.249, allocations: 252.1 kB / 2.4 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/4.25, allocations: 490.3 kB / 2.4 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001169/4.25, allocations: 33.7 kB / 2.4 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004121/4.251, allocations: 411.9 kB / 2.4 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/4.251, allocations: 232.4 kB / 2.401 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/4.251, allocations: 0 / 2.401 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001288/4.251, allocations: 374.8 kB / 2.401 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004334/4.252, allocations: 201.5 kB / 2.401 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005293/4.252, allocations: 307.5 kB / 2.402 GB, free: 3.691 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/4.253, allocations: 244.4 kB / 2.402 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/4.253, allocations: 7.953 kB / 2.402 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002061/4.255, allocations: 0.6681 MB / 2.402 GB, free: 2.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/4.255, allocations: 11.94 kB / 2.402 GB, free: 2.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/4.255, allocations: 4.062 kB / 2.402 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007647/4.256, allocations: 80.78 kB / 2.403 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009883/4.257, allocations: 163.8 kB / 2.403 GB, free: 2.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/4.259, allocations: 1.457 MB / 2.404 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009584/4.259, allocations: 71.58 kB / 2.404 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/4.26, allocations: 36.03 kB / 2.404 GB, free: 0.8242 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 (77): * Single equations (assignments): 76 * 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.000211/4.26, allocations: 120.8 kB / 2.404 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001973/4.262, allocations: 0.6758 MB / 2.405 GB, free: 16 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.5071/4.769, allocations: 68.55 kB / 2.405 GB, free: 228.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002827/4.772, allocations: 0.9336 MB / 2.406 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/4.772, allocations: 13.3 kB / 2.406 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/4.772, allocations: 3.906 kB / 2.406 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/4.772, allocations: 5.516 kB / 2.406 GB, free: 228.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/4.775, allocations: 1.765 MB / 2.408 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/4.776, allocations: 4.141 kB / 2.408 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008502/4.776, allocations: 166.7 kB / 2.408 GB, free: 228.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005382/4.777, allocations: 81.38 kB / 2.408 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.371e-05/4.777, allocations: 15.84 kB / 2.408 GB, free: 228 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/4.779, allocations: 1.488 MB / 2.409 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/4.779, allocations: 3.75 kB / 2.409 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001959/4.781, allocations: 0.8531 MB / 2.41 GB, free: 226.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005225/4.781, allocations: 278.9 kB / 2.411 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/4.781, allocations: 2.562 kB / 2.411 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/4.782, allocations: 69.42 kB / 2.411 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/4.782, allocations: 69.28 kB / 2.411 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/4.782, allocations: 32.78 kB / 2.411 GB, free: 226.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006353/4.783, allocations: 397.9 kB / 2.411 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/4.783, allocations: 0 / 2.411 GB, free: 226.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001258/4.784, allocations: 352.3 kB / 2.411 GB, free: 226.4 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * 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.004308/4.789, allocations: 2.383 MB / 2.414 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001738/4.79, allocations: 0.677 MB / 2.414 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/4.79, allocations: 3.812 kB / 2.414 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009928/4.791, allocations: 462.8 kB / 2.415 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/4.793, allocations: 217.6 kB / 2.415 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/4.797, allocations: 1.544 MB / 2.417 GB, free: 225 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/4.798, allocations: 1.041 MB / 2.418 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009931/4.799, allocations: 265.6 kB / 2.418 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005935/4.799, allocations: 376.8 kB / 2.418 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of SimCode: time 7.71e-07/4.799, allocations: 2.594 kB / 2.418 GB, free: 224.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04708/4.846, allocations: 23.61 MB / 2.441 GB, free: 222.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/4.847, allocations: 202.9 kB / 2.441 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.844/7.69, allocations: 0 / 2.441 GB, free: 222.4 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)