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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009381/0.0009382, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 177 kB / 16.57 MB, free: 6.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6472/0.6472, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004921/0.0004922, allocations: 8.906 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1521, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.003987/0.1561, allocations: 3.702 MB / 0.5603 GB, free: 7.969 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4384/0.5945, allocations: 127.6 MB / 0.6849 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006534/0.5952, allocations: 15.94 kB / 0.6849 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003618/0.5956, allocations: 83.27 kB / 0.685 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.5971, allocations: 0.4927 MB / 0.6855 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.5987, allocations: 0.6437 MB / 0.6861 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001302/0.6, allocations: 0.83 MB / 0.6869 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007933/0.6008, allocations: 0.541 MB / 0.6875 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004829/0.6013, allocations: 346.5 kB / 0.6878 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.6017, allocations: 350.1 kB / 0.6881 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.729e-05/0.6018, allocations: 28 kB / 0.6882 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007218/0.6025, allocations: 327.6 kB / 0.6885 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.6027, allocations: 191.2 kB / 0.6887 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001615/0.6029, allocations: 209.1 kB / 0.6889 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.604, allocations: 1.232 MB / 0.6901 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.604, allocations: 4 kB / 0.6901 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6041, allocations: 0 / 0.6901 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.6041, allocations: 0 / 0.6901 GB, free: 1.504 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002305/0.6064, allocations: 1.279 MB / 0.6913 GB, free: 184 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.689e-05/0.6064, allocations: 8.031 kB / 0.6913 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.6066, allocations: 148 kB / 0.6915 GB, free: 20 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.6077, allocations: 222.5 kB / 0.6917 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.6088, allocations: 0.7381 MB / 0.6924 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.6088, allocations: 73.72 kB / 0.6925 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.609, allocations: 96 kB / 0.6926 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.6105, allocations: 1.004 MB / 0.6935 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.6106, allocations: 4 kB / 0.6935 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.6107, allocations: 36 kB / 0.6936 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.6107, allocations: 24 kB / 0.6936 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001757/0.6125, allocations: 1.179 MB / 0.6948 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004043/0.6165, allocations: 2.725 MB / 0.6974 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.6181, allocations: 0.9168 MB / 0.6983 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006074/0.6187, allocations: 474.1 kB / 0.6988 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008493/0.6196, allocations: 0.4961 MB / 0.6992 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=82): time 2.214e-06/0.6196, allocations: 0 / 0.6992 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of matching and sorting (n=82): time 0.002988/0.6226, allocations: 1.233 MB / 0.7004 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.6227, allocations: 196.5 kB / 0.7006 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007772/0.6235, allocations: 0.6333 MB / 0.7013 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/0.6236, allocations: 41.7 kB / 0.7013 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.6239, allocations: 428.2 kB / 0.7017 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.6241, allocations: 264.2 kB / 0.702 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/0.6241, allocations: 16 kB / 0.702 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.6243, allocations: 382.8 kB / 0.7023 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.6248, allocations: 261.9 kB / 0.7026 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005646/0.6254, allocations: 362.5 kB / 0.7029 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.6259, allocations: 302.8 kB / 0.7032 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.6259, allocations: 4 kB / 0.7032 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001787/0.6277, allocations: 0.8253 MB / 0.704 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.6278, allocations: 4 kB / 0.704 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6278, allocations: 0 / 0.704 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005739/0.6283, allocations: 84.8 kB / 0.7041 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.629, allocations: 163.7 kB / 0.7043 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/0.6309, allocations: 1.532 MB / 0.7058 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000783/0.6317, allocations: 108 kB / 0.7059 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.6318, allocations: 31.92 kB / 0.7059 GB, free: 0.668 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0004773/0.6323, allocations: 278.6 kB / 0.7062 GB, free: 396 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.6324, allocations: 82.97 kB / 0.7062 GB, free: 312 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.6348, allocations: 1.105 MB / 0.7073 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.6348, allocations: 12 kB / 0.7073 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.6348, allocations: 0 / 0.7073 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.419e-05/0.6348, allocations: 7.984 kB / 0.7073 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003308/0.6382, allocations: 2.013 MB / 0.7093 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.6382, allocations: 0 / 0.7093 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008058/0.639, allocations: 151.7 kB / 0.7095 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000655/0.6397, allocations: 84.77 kB / 0.7095 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.6398, allocations: 27.98 kB / 0.7096 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001817/0.6416, allocations: 1.564 MB / 0.7111 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6416, allocations: 0 / 0.7111 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.6436, allocations: 1.027 MB / 0.7121 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/0.6441, allocations: 291.6 kB / 0.7124 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.6442, allocations: 16 kB / 0.7124 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006774/0.6449, allocations: 84.73 kB / 0.7125 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/0.645, allocations: 68.89 kB / 0.7125 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.6451, allocations: 39.97 kB / 0.7126 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005841/0.6457, allocations: 463 kB / 0.713 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6457, allocations: 0 / 0.713 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000934/0.6466, allocations: 343.1 kB / 0.7133 GB, free: 8.793 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003469/0.6501, allocations: 2.08 MB / 0.7154 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001622/0.6518, allocations: 0.8236 MB / 0.7162 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6518, allocations: 0 / 0.7162 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009043/0.6527, allocations: 0.5314 MB / 0.7167 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.6538, allocations: 243 kB / 0.7169 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009403/0.6632, allocations: 5.689 MB / 0.7225 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.6638, allocations: 1.063 MB / 0.7235 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008742/0.6647, allocations: 266.7 kB / 0.7238 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/0.6652, allocations: 411.2 kB / 0.7242 GB, free: 13.7 MB / 0.545 GB Notification: Performance of SimCode: time 8.41e-07/0.6652, allocations: 0 / 0.7242 GB, free: 13.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.081/2.746, allocations: 21.8 MB / 0.7455 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/2.746, allocations: 278.4 kB / 0.7457 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.089/5.836, allocations: 0 / 0.7457 GB, free: 7.977 MB / 0.5606 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) Environment - environmentSimulation: