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.002232/0.002232, 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 1.21/1.21, 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 2.985/2.985, allocations: 221.3 MB / 400.4 MB, free: 5.855 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.001434/0.001434, allocations: 79.92 kB / 483.3 MB, free: 5.918 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.57e-05/6.595e-05, allocations: 6.828 kB / 0.5601 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.306, allocations: 82.3 MB / 0.6405 GB, free: 7.766 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.997/9.303, allocations: 1.694 GB / 2.335 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006348/9.304, allocations: 94.16 kB / 2.335 GB, free: 196.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2535/9.557, allocations: 65.46 MB / 2.399 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.031e-06/9.557, allocations: 3.984 kB / 2.399 GB, free: 142.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001741/9.557, allocations: 23.94 kB / 2.399 GB, free: 142.4 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.004421/9.562, allocations: 1.13 MB / 2.4 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001126/9.562, allocations: 12.03 kB / 2.4 GB, free: 141.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006882/9.563, allocations: 145.1 kB / 2.4 GB, free: 141.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003206/9.566, allocations: 301.7 kB / 2.401 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/9.568, allocations: 0.6279 MB / 2.401 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/9.568, allocations: 65.94 kB / 2.401 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/9.569, allocations: 88.75 kB / 2.401 GB, free: 140.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/9.571, allocations: 0.9318 MB / 2.402 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/9.571, allocations: 3.938 kB / 2.402 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001404/9.571, allocations: 37.75 kB / 2.402 GB, free: 139.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/9.571, allocations: 27.95 kB / 2.402 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/9.574, allocations: 1.101 MB / 2.403 GB, free: 138.7 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009226/9.583, allocations: 2.604 MB / 2.406 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/9.587, allocations: 0.8597 MB / 2.407 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008602/9.588, allocations: 287.1 kB / 2.407 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001669/9.588, allocations: 28.81 kB / 2.407 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/9.589, allocations: 437.3 kB / 2.407 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=75): time 5.901e-06/9.589, allocations: 3.938 kB / 2.407 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=75): time 0.003389/9.593, allocations: 0.7188 MB / 2.408 GB, free: 134.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/9.593, allocations: 240.1 kB / 2.408 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002457/9.595, allocations: 0.5894 MB / 2.409 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002105/9.596, allocations: 41.7 kB / 2.409 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007558/9.596, allocations: 404.1 kB / 2.409 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000476/9.597, allocations: 248.4 kB / 2.41 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/9.597, allocations: 12 kB / 2.41 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002709/9.597, allocations: 386.7 kB / 2.41 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007878/9.598, allocations: 213.5 kB / 2.41 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009265/9.599, allocations: 321.1 kB / 2.41 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/9.6, allocations: 258 kB / 2.411 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/9.6, allocations: 0 / 2.411 GB, free: 131.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00336/9.603, allocations: 0.7227 MB / 2.411 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.631e-05/9.604, allocations: 4 kB / 2.411 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/9.604, allocations: 4 kB / 2.411 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/9.605, allocations: 80.84 kB / 2.412 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/9.606, allocations: 163.8 kB / 2.412 GB, free: 130.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/9.609, allocations: 1.52 MB / 2.413 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/9.611, allocations: 99.48 kB / 2.413 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001532/9.611, allocations: 27.97 kB / 2.413 GB, free: 128.6 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.0003896/9.611, allocations: 148.9 kB / 2.413 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005252/9.612, allocations: 75.06 kB / 2.413 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00443/9.616, allocations: 1.005 MB / 2.414 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/9.616, allocations: 12 kB / 2.414 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/9.617, allocations: 0 / 2.414 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/9.617, allocations: 3.984 kB / 2.414 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007033/9.624, allocations: 1.951 MB / 2.416 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/9.624, allocations: 4 kB / 2.416 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001474/9.625, allocations: 167.8 kB / 2.417 GB, free: 125.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009181/9.626, allocations: 92.64 kB / 2.417 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/9.626, allocations: 27.92 kB / 2.417 GB, free: 125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003092/9.629, allocations: 1.552 MB / 2.418 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/9.629, allocations: 0 / 2.418 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00349/9.633, allocations: 0.9001 MB / 2.419 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/9.634, allocations: 295.6 kB / 2.419 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/9.634, allocations: 16 kB / 2.419 GB, free: 122.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/9.636, allocations: 91.92 kB / 2.419 GB, free: 122 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/9.636, allocations: 64.69 kB / 2.42 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/9.636, allocations: 27.98 kB / 2.42 GB, free: 121.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001601/9.638, allocations: 487.1 kB / 2.42 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.61e-07/9.638, allocations: 0 / 2.42 GB, free: 121.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002721/9.641, allocations: 375.1 kB / 2.42 GB, free: 121 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.008076/9.649, allocations: 2.379 MB / 2.423 GB, free: 118.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002971/9.652, allocations: 0.7215 MB / 2.423 GB, free: 118 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/9.652, allocations: 0 / 2.423 GB, free: 118 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/9.654, allocations: 498.9 kB / 2.424 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002572/9.656, allocations: 224.5 kB / 2.424 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008871/9.665, allocations: 1.626 MB / 2.426 GB, free: 115.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/9.666, allocations: 1.041 MB / 2.427 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002354/9.669, allocations: 282.1 kB / 2.427 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/9.67, allocations: 387.3 kB / 2.427 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.754e-06/9.67, allocations: 0 / 2.427 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1/9.77, allocations: 31.63 MB / 2.458 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003698/9.77, allocations: 257.3 kB / 2.458 GB, free: 82.17 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.505/15.28, allocations: 0 / 2.458 GB, free: 82.17 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)