Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001103/0.001103, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5226/0.5226, allocations: 91.98 MB / 108.5 MB, free: 13.06 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.569/1.569, allocations: 223.1 MB / 354.3 MB, free: 10.48 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.001033/0.001033, allocations: 114.1 kB / 427.4 MB, free: 2.195 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003719, allocations: 8 kB / 0.4983 GB, free: 41.97 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1914, allocations: 72.31 MB / 0.5689 GB, free: 1.602 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.832/5.023, allocations: 1.685 GB / 2.254 GB, free: 215.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/5.024, allocations: 97.2 kB / 2.254 GB, free: 215.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1869/5.211, allocations: 68.39 MB / 2.321 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.445e-06/5.211, allocations: 0 / 2.321 GB, free: 146.9 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001335/5.211, allocations: 27.94 kB / 2.321 GB, free: 146.9 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.00394/5.215, allocations: 1.227 MB / 2.322 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/5.215, allocations: 16.02 kB / 2.322 GB, free: 145.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004309/5.215, allocations: 135.6 kB / 2.322 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/5.217, allocations: 214.5 kB / 2.322 GB, free: 145.2 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/5.219, allocations: 0.6347 MB / 2.323 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.949e-05/5.219, allocations: 69.94 kB / 2.323 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/5.219, allocations: 88 kB / 2.323 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/5.222, allocations: 0.9496 MB / 2.324 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/5.222, allocations: 0 / 2.324 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/5.222, allocations: 36 kB / 2.324 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/5.222, allocations: 24 kB / 2.324 GB, free: 143.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/5.225, allocations: 1.136 MB / 2.325 GB, free: 142.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006535/5.232, allocations: 2.604 MB / 2.328 GB, free: 139.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/5.234, allocations: 0.8348 MB / 2.328 GB, free: 138.7 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009474/5.235, allocations: 474.2 kB / 2.329 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/5.236, allocations: 439.2 kB / 2.329 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=73): time 4.799e-06/5.236, allocations: 0 / 2.329 GB, free: 137.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73): time 0.004523/5.241, allocations: 1.118 MB / 2.33 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/5.241, allocations: 247.9 kB / 2.331 GB, free: 136.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001527/5.243, allocations: 0.5971 MB / 2.331 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/5.243, allocations: 45.7 kB / 2.331 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/5.243, allocations: 400.2 kB / 2.332 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/5.243, allocations: 244.5 kB / 2.332 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/5.243, allocations: 8 kB / 2.332 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001405/5.244, allocations: 386.7 kB / 2.332 GB, free: 134.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006891/5.244, allocations: 221.2 kB / 2.333 GB, free: 134.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00073/5.245, allocations: 335.6 kB / 2.333 GB, free: 134 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008097/5.246, allocations: 271.1 kB / 2.333 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/5.246, allocations: 0 / 2.333 GB, free: 133.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002683/5.249, allocations: 0.7393 MB / 2.334 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/5.249, allocations: 11.98 kB / 2.334 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/5.249, allocations: 0 / 2.334 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008842/5.25, allocations: 76.84 kB / 2.334 GB, free: 132.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000938/5.25, allocations: 143.8 kB / 2.334 GB, free: 132.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002456/5.253, allocations: 1.529 MB / 2.336 GB, free: 131 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/5.254, allocations: 91.39 kB / 2.336 GB, free: 131 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.46e-05/5.254, allocations: 31.91 kB / 2.336 GB, free: 130.9 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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.0007517/5.255, allocations: 253.8 kB / 2.336 GB, free: 130.7 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/5.255, allocations: 79 kB / 2.336 GB, free: 130.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003337/5.258, allocations: 1.021 MB / 2.337 GB, free: 129.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/5.258, allocations: 8 kB / 2.337 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/5.259, allocations: 4 kB / 2.337 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/5.259, allocations: 3.984 kB / 2.337 GB, free: 129.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004294/5.263, allocations: 1.946 MB / 2.339 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/5.263, allocations: 0 / 2.339 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/5.263, allocations: 147.8 kB / 2.339 GB, free: 127.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/5.264, allocations: 88.7 kB / 2.339 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/5.264, allocations: 23.98 kB / 2.339 GB, free: 127.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/5.266, allocations: 1.571 MB / 2.341 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/5.266, allocations: 0 / 2.341 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/5.268, allocations: 0.922 MB / 2.342 GB, free: 124.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004358/5.268, allocations: 291.7 kB / 2.342 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.905e-05/5.268, allocations: 16 kB / 2.342 GB, free: 124.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/5.269, allocations: 63.95 kB / 2.342 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/5.269, allocations: 60.91 kB / 2.342 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/5.269, allocations: 31.98 kB / 2.342 GB, free: 124.2 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005883/5.269, allocations: 495 kB / 2.342 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.3e-07/5.269, allocations: 4 kB / 2.342 GB, free: 123.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001165/5.271, allocations: 387 kB / 2.343 GB, free: 123.3 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.003741/5.274, allocations: 2.45 MB / 2.345 GB, free: 121 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001448/5.276, allocations: 0.7399 MB / 2.346 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/5.276, allocations: 4.125 kB / 2.346 GB, free: 120.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007482/5.277, allocations: 0.5001 MB / 2.346 GB, free: 119.7 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/5.278, allocations: 234.4 kB / 2.347 GB, free: 119.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008769/5.287, allocations: 5.176 MB / 2.352 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/5.287, allocations: 1.036 MB / 2.353 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009057/5.288, allocations: 262.2 kB / 2.353 GB, free: 112.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004697/5.288, allocations: 375.3 kB / 2.353 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of SimCode: time 1.733e-06/5.288, allocations: 0 / 2.353 GB, free: 112.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05803/5.347, allocations: 29.72 MB / 2.382 GB, free: 83.13 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/5.347, allocations: 288 kB / 2.383 GB, free: 82.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/8.428, allocations: 0 / 2.383 GB, free: 82.77 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)