Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.674/0.674, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 175.8 kB / 169.7 MB, free: 1.738 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.1 MB / 404.5 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000843/0.0008432, allocations: 87.69 kB / 481.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.654e-05/4.665e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1987, allocations: 76.76 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.609/5.808, allocations: 2.148 GB / 2.776 GB, free: 179.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/5.809, allocations: 95.94 kB / 2.776 GB, free: 179.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1331/5.942, allocations: 63.18 MB / 2.838 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.839e-06/5.942, allocations: 0 / 2.838 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000154/5.942, allocations: 24 kB / 2.838 GB, free: 116.3 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002705/5.945, allocations: 1.056 MB / 2.839 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/5.945, allocations: 12.03 kB / 2.839 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003258/5.945, allocations: 135.3 kB / 2.839 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00228/5.947, allocations: 326.3 kB / 2.839 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001176/5.949, allocations: 0.5491 MB / 2.84 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/5.949, allocations: 58 kB / 2.84 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/5.949, allocations: 84 kB / 2.84 GB, free: 114 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/5.95, allocations: 0.8878 MB / 2.841 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/5.951, allocations: 0 / 2.841 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.273e-05/5.951, allocations: 36 kB / 2.841 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.196e-05/5.951, allocations: 24 kB / 2.841 GB, free: 113 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/5.952, allocations: 1.089 MB / 2.842 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/5.956, allocations: 2.552 MB / 2.844 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/5.958, allocations: 0.7152 MB / 2.845 GB, free: 108.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/5.958, allocations: 283.2 kB / 2.845 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006302/5.959, allocations: 470.3 kB / 2.846 GB, free: 107.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006296/5.959, allocations: 446.2 kB / 2.846 GB, free: 107.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=73): time 2.515e-06/5.959, allocations: 0 / 2.846 GB, free: 107.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=73): time 0.001554/5.961, allocations: 0.7043 MB / 2.847 GB, free: 106.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.816e-05/5.961, allocations: 170.9 kB / 2.847 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/5.961, allocations: 0.5048 MB / 2.847 GB, free: 105.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.568e-05/5.961, allocations: 41.7 kB / 2.848 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/5.962, allocations: 360.3 kB / 2.848 GB, free: 105.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/5.962, allocations: 236.5 kB / 2.848 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-05/5.962, allocations: 16 kB / 2.848 GB, free: 105.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001107/5.962, allocations: 370.8 kB / 2.848 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/5.962, allocations: 205.5 kB / 2.849 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/5.963, allocations: 294.5 kB / 2.849 GB, free: 104.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/5.963, allocations: 254 kB / 2.849 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/5.963, allocations: 0 / 2.849 GB, free: 104.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001332/5.964, allocations: 0.6994 MB / 2.85 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/5.964, allocations: 8 kB / 2.85 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/5.964, allocations: 0 / 2.85 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005519/5.965, allocations: 84.83 kB / 2.85 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007036/5.966, allocations: 155.7 kB / 2.85 GB, free: 103.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/5.968, allocations: 1.525 MB / 2.852 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/5.968, allocations: 91.42 kB / 2.852 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/5.968, allocations: 27.98 kB / 2.852 GB, free: 101.4 MB / 0.6511 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.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete 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.0001823/5.968, allocations: 133.9 kB / 2.852 GB, free: 101.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/5.969, allocations: 79.09 kB / 2.852 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002091/5.971, allocations: 0.9566 MB / 2.853 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/5.971, allocations: 8 kB / 2.853 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/5.971, allocations: 0 / 2.853 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/5.971, allocations: 11.97 kB / 2.853 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/5.972, allocations: 0.8601 MB / 2.854 GB, free: 99.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/5.972, allocations: 0 / 2.854 GB, free: 99.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006807/5.972, allocations: 155.8 kB / 2.854 GB, free: 99.09 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/5.973, allocations: 84.72 kB / 2.854 GB, free: 99 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.415e-05/5.973, allocations: 19.98 kB / 2.854 GB, free: 98.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001694/5.975, allocations: 1.536 MB / 2.855 GB, free: 97.31 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/5.975, allocations: 3.953 kB / 2.855 GB, free: 97.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/5.976, allocations: 0.7928 MB / 2.856 GB, free: 96.49 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005323/5.977, allocations: 279.8 kB / 2.856 GB, free: 96.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/5.977, allocations: 16 kB / 2.857 GB, free: 96.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/5.978, allocations: 79.78 kB / 2.857 GB, free: 96.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/5.978, allocations: 48.7 kB / 2.857 GB, free: 96.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.16e-05/5.978, allocations: 35.97 kB / 2.857 GB, free: 96.02 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006752/5.979, allocations: 421.5 kB / 2.857 GB, free: 95.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/5.979, allocations: 0 / 2.857 GB, free: 95.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001506/5.98, allocations: 355.1 kB / 2.857 GB, free: 95.27 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * 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.004179/5.984, allocations: 2.237 MB / 2.86 GB, free: 93.09 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001289/5.986, allocations: 0.7019 MB / 2.86 GB, free: 92.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/5.986, allocations: 0 / 2.86 GB, free: 92.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007208/5.986, allocations: 471 kB / 2.861 GB, free: 91.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008715/5.987, allocations: 189.9 kB / 2.861 GB, free: 91.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/5.991, allocations: 1.525 MB / 2.862 GB, free: 90.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/5.991, allocations: 1.011 MB / 2.863 GB, free: 89.11 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009107/5.992, allocations: 257.2 kB / 2.864 GB, free: 88.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004634/5.993, allocations: 331.3 kB / 2.864 GB, free: 88.53 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/5.993, allocations: 0 / 2.864 GB, free: 88.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04456/6.037, allocations: 28.94 MB / 2.892 GB, free: 59.82 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001555/6.037, allocations: 257.7 kB / 2.892 GB, free: 59.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.206/9.244, allocations: 0 / 2.892 GB, free: 59.48 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)