Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness,fileNamePrefix="IBPSA_latest_IBPSA_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.001398/0.001399, allocations: 178.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5131/0.5131, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.3 MB / 348.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009509/0.0009506, allocations: 100.9 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.469e-05, allocations: 4 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.462/0.4621, allocations: 72.29 MB / 0.5603 GB, free: 40.46 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.608/4.07, allocations: 1.685 GB / 2.245 GB, free: 96.27 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/4.07, allocations: 89.52 kB / 2.245 GB, free: 96.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1371/4.207, allocations: 65.48 MB / 2.309 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.563e-06/4.207, allocations: 0 / 2.309 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.599e-05/4.207, allocations: 24 kB / 2.309 GB, free: 30.46 MB / 0.6042 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.001715/4.209, allocations: 1.122 MB / 2.31 GB, free: 29.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/4.209, allocations: 15.97 kB / 2.31 GB, free: 29.27 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001427/4.209, allocations: 147.7 kB / 2.31 GB, free: 29.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/4.211, allocations: 302.4 kB / 2.311 GB, free: 28.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009276/4.212, allocations: 0.6308 MB / 2.311 GB, free: 28.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.14e-05/4.212, allocations: 66 kB / 2.311 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.992e-05/4.212, allocations: 95.94 kB / 2.312 GB, free: 27.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/4.213, allocations: 0.9294 MB / 2.312 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/4.213, allocations: 0 / 2.312 GB, free: 27.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/4.213, allocations: 40 kB / 2.312 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/4.213, allocations: 24 kB / 2.313 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/4.215, allocations: 1.101 MB / 2.314 GB, free: 25.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003967/4.219, allocations: 2.607 MB / 2.316 GB, free: 23.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/4.22, allocations: 0.8548 MB / 2.317 GB, free: 22.29 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003553/4.221, allocations: 275.2 kB / 2.317 GB, free: 22.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.064e-05/4.221, allocations: 36.8 kB / 2.317 GB, free: 21.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005959/4.221, allocations: 433.3 kB / 2.318 GB, free: 21.54 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=75): time 2.665e-06/4.222, allocations: 0 / 2.318 GB, free: 21.54 MB / 0.6042 GB Notification: Performance of matching and sorting (n=75): time 0.001628/4.223, allocations: 0.7226 MB / 2.318 GB, free: 20.81 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/4.223, allocations: 240.1 kB / 2.319 GB, free: 20.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006751/4.224, allocations: 0.5933 MB / 2.319 GB, free: 19.93 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.912e-05/4.224, allocations: 37.7 kB / 2.319 GB, free: 19.88 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/4.224, allocations: 396.2 kB / 2.32 GB, free: 19.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/4.224, allocations: 252.4 kB / 2.32 GB, free: 19.24 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/4.224, allocations: 12 kB / 2.32 GB, free: 19.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.09e-05/4.224, allocations: 386.8 kB / 2.32 GB, free: 18.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000314/4.225, allocations: 217.5 kB / 2.32 GB, free: 18.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/4.225, allocations: 321 kB / 2.321 GB, free: 18.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/4.226, allocations: 258 kB / 2.321 GB, free: 18.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/4.226, allocations: 0 / 2.321 GB, free: 18.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00139/4.227, allocations: 0.7226 MB / 2.322 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/4.227, allocations: 11.94 kB / 2.322 GB, free: 17.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/4.227, allocations: 4 kB / 2.322 GB, free: 17.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/4.228, allocations: 80.84 kB / 2.322 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/4.228, allocations: 163.7 kB / 2.322 GB, free: 17.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/4.23, allocations: 1.513 MB / 2.323 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007411/4.231, allocations: 103.5 kB / 2.324 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/4.231, allocations: 27.97 kB / 2.324 GB, free: 15.25 MB / 0.6042 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.0001723/4.231, allocations: 143.2 kB / 2.324 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/4.231, allocations: 79.02 kB / 2.324 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/4.233, allocations: 1.005 MB / 2.325 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/4.233, allocations: 12 kB / 2.325 GB, free: 14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/4.233, allocations: 4 kB / 2.325 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/4.233, allocations: 3.984 kB / 2.325 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002795/4.236, allocations: 1.954 MB / 2.327 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/4.236, allocations: 0 / 2.327 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/4.237, allocations: 167.8 kB / 2.327 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004725/4.237, allocations: 88.72 kB / 2.327 GB, free: 11.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/4.237, allocations: 19.98 kB / 2.327 GB, free: 11.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001625/4.239, allocations: 1.552 MB / 2.328 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.696e-06/4.239, allocations: 3.984 kB / 2.328 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/4.24, allocations: 0.9002 MB / 2.329 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/4.241, allocations: 291.6 kB / 2.33 GB, free: 8.781 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/4.241, allocations: 16 kB / 2.33 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/4.242, allocations: 87.92 kB / 2.33 GB, free: 8.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/4.242, allocations: 64.69 kB / 2.33 GB, free: 8.617 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-05/4.242, allocations: 31.98 kB / 2.33 GB, free: 8.586 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000604/4.243, allocations: 487.1 kB / 2.33 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/4.243, allocations: 0 / 2.33 GB, free: 8.113 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00108/4.244, allocations: 379 kB / 2.331 GB, free: 7.742 MB / 0.6042 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.003257/4.247, allocations: 2.376 MB / 2.333 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001188/4.248, allocations: 0.7137 MB / 2.334 GB, free: 4.734 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/4.248, allocations: 7.938 kB / 2.334 GB, free: 4.727 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006369/4.249, allocations: 491.1 kB / 2.334 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/4.25, allocations: 250.9 kB / 2.334 GB, free: 3.996 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003578/4.253, allocations: 1.626 MB / 2.336 GB, free: 2.328 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/4.254, allocations: 1.037 MB / 2.337 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008222/4.255, allocations: 274.1 kB / 2.337 GB, free: 0.9922 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/4.255, allocations: 387.3 kB / 2.338 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of SimCode: time 7.11e-07/4.255, allocations: 0 / 2.338 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4337/4.689, allocations: 31.66 MB / 2.369 GB, free: 190.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002381/4.689, allocations: 255.7 kB / 2.369 GB, free: 190.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.034/7.723, allocations: 1.969 kB / 2.369 GB, free: 190.5 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyBrightness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyBrightness.pipe 2>&1)