Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7057/0.7057, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009783/0.0009785, allocations: 181.5 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0008797/0.0008796, allocations: 95.08 kB / 0.5124 GB, free: 24.13 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 287.2 kB / 0.594 GB, free: 7.941 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.546e-05, allocations: 4 kB / 0.6835 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3662, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.394/3.76, allocations: 1.692 GB / 2.456 GB, free: 51.01 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/3.76, allocations: 98.88 kB / 2.456 GB, free: 50.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5831/4.343, allocations: 68.07 MB / 2.523 GB, free: 232.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/4.343, allocations: 3.062 kB / 2.523 GB, free: 232.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.975e-05/4.344, allocations: 28.69 kB / 2.523 GB, free: 232.7 MB / 0.698 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.0021/4.346, allocations: 1.12 MB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/4.346, allocations: 9.531 kB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001826/4.346, allocations: 140.9 kB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001108/4.347, allocations: 221.9 kB / 2.524 GB, free: 232.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009586/4.348, allocations: 0.6244 MB / 2.525 GB, free: 231.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.014e-05/4.348, allocations: 66.09 kB / 2.525 GB, free: 231.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/4.348, allocations: 86.34 kB / 2.525 GB, free: 231.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/4.35, allocations: 0.9116 MB / 2.526 GB, free: 231.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/4.35, allocations: 5.156 kB / 2.526 GB, free: 231.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.278e-05/4.35, allocations: 37.41 kB / 2.526 GB, free: 231.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/4.35, allocations: 25.66 kB / 2.526 GB, free: 231.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/4.351, allocations: 1.074 MB / 2.527 GB, free: 231.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/4.355, allocations: 2.597 MB / 2.529 GB, free: 230.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/4.356, allocations: 0.7778 MB / 2.53 GB, free: 230.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/4.356, allocations: 267.1 kB / 2.53 GB, free: 230.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005515/4.357, allocations: 469.6 kB / 2.531 GB, free: 230.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005544/4.357, allocations: 417.2 kB / 2.531 GB, free: 230.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 4.108e-06/4.357, allocations: 3.438 kB / 2.531 GB, free: 230.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=73): time 0.001463/4.359, allocations: 0.6898 MB / 2.532 GB, free: 230.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/4.359, allocations: 247 kB / 2.532 GB, free: 229.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/4.359, allocations: 0.5929 MB / 2.533 GB, free: 229.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/4.359, allocations: 38.8 kB / 2.533 GB, free: 229.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/4.36, allocations: 407.1 kB / 2.533 GB, free: 229.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/4.36, allocations: 238.8 kB / 2.533 GB, free: 229.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/4.36, allocations: 11.25 kB / 2.533 GB, free: 229.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001028/4.36, allocations: 381.6 kB / 2.534 GB, free: 229 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/4.36, allocations: 203.6 kB / 2.534 GB, free: 229 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/4.361, allocations: 305.7 kB / 2.534 GB, free: 229 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/4.361, allocations: 253.2 kB / 2.535 GB, free: 228.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/4.361, allocations: 1.594 kB / 2.535 GB, free: 228.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001303/4.362, allocations: 0.685 MB / 2.535 GB, free: 228.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/4.362, allocations: 9.344 kB / 2.535 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/4.362, allocations: 3.953 kB / 2.535 GB, free: 228.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005431/4.363, allocations: 80.56 kB / 2.535 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005496/4.363, allocations: 146.8 kB / 2.535 GB, free: 228.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/4.365, allocations: 1.517 MB / 2.537 GB, free: 227.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/4.366, allocations: 86.38 kB / 2.537 GB, free: 227.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-05/4.366, allocations: 30.27 kB / 2.537 GB, free: 227.5 MB / 0.698 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 (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.0001442/4.366, allocations: 139.6 kB / 2.537 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/4.366, allocations: 80.5 kB / 2.537 GB, free: 227.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001809/4.368, allocations: 0.9687 MB / 2.538 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/4.368, allocations: 11.7 kB / 2.538 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/4.368, allocations: 0 / 2.538 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/4.368, allocations: 3.469 kB / 2.538 GB, free: 227.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/4.37, allocations: 1.889 MB / 2.54 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/4.37, allocations: 3.781 kB / 2.54 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/4.371, allocations: 144.9 kB / 2.54 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004426/4.371, allocations: 78.47 kB / 2.54 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.043e-05/4.372, allocations: 32.83 kB / 2.54 GB, free: 226.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/4.373, allocations: 1.546 MB / 2.542 GB, free: 225.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/4.373, allocations: 3.469 kB / 2.542 GB, free: 225.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/4.374, allocations: 0.867 MB / 2.543 GB, free: 225.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/4.375, allocations: 286.5 kB / 2.543 GB, free: 225.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/4.375, allocations: 20.2 kB / 2.543 GB, free: 225.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000536/4.375, allocations: 71.58 kB / 2.543 GB, free: 225.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/4.376, allocations: 57.84 kB / 2.543 GB, free: 225.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/4.376, allocations: 32.38 kB / 2.543 GB, free: 225.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005242/4.376, allocations: 487.5 kB / 2.544 GB, free: 225.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/4.376, allocations: 0 / 2.544 GB, free: 225.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001112/4.377, allocations: 384.5 kB / 2.544 GB, free: 225.1 MB / 0.698 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 (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.003289/4.381, allocations: 2.357 MB / 2.546 GB, free: 224.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00114/4.382, allocations: 0.683 MB / 2.547 GB, free: 224.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/4.382, allocations: 0 / 2.547 GB, free: 224.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006238/4.382, allocations: 480.1 kB / 2.547 GB, free: 224 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/4.383, allocations: 238.6 kB / 2.548 GB, free: 224 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003622/4.387, allocations: 1.614 MB / 2.549 GB, free: 223.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/4.387, allocations: 1.036 MB / 2.55 GB, free: 222.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008011/4.388, allocations: 263.5 kB / 2.55 GB, free: 222.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004595/4.389, allocations: 378.2 kB / 2.551 GB, free: 222.8 MB / 0.698 GB Notification: Performance of SimCode: time 7.62e-07/4.389, allocations: 0 / 2.551 GB, free: 222.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04882/4.438, allocations: 31.48 MB / 2.582 GB, free: 205.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/4.438, allocations: 261.9 kB / 2.582 GB, free: 205.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.136/7.574, allocations: 0 / 2.582 GB, free: 205.4 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness_fmu --startTime=100000 --stopTime=3e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)