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.0007821/0.0007821, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009614/0.0009611, allocations: 175.2 kB / 16.58 MB, free: 6.852 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.29/1.29, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.69/0.69, allocations: 113.7 MB / 405.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 8 kB / 493.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1656, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.00477/0.1704, allocations: 3.797 MB / 0.5606 GB, free: 7.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4281/0.5986, allocations: 136.8 MB / 0.6942 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008005/0.5994, allocations: 19.88 kB / 0.6942 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.6001, allocations: 134.9 kB / 0.6944 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001601/0.6017, allocations: 418.5 kB / 0.6948 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.6035, allocations: 0.6523 MB / 0.6954 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.6049, allocations: 1.141 MB / 0.6965 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008764/0.6058, allocations: 0.5446 MB / 0.697 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006036/0.6064, allocations: 338.4 kB / 0.6974 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.6069, allocations: 374 kB / 0.6977 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.607, allocations: 28 kB / 0.6978 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007027/0.6077, allocations: 359.6 kB / 0.6981 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.6079, allocations: 191.1 kB / 0.6983 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.6081, allocations: 197.1 kB / 0.6985 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001064/0.6092, allocations: 1.243 MB / 0.6997 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6092, allocations: 0 / 0.6997 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6092, allocations: 0 / 0.6997 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.6092, allocations: 0 / 0.6997 GB, free: 8.547 MB / 0.5137 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.001988/0.6112, allocations: 1.277 MB / 0.7009 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.6112, allocations: 8.031 kB / 0.7009 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.6114, allocations: 148 kB / 0.7011 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009372/0.6123, allocations: 222.4 kB / 0.7013 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009182/0.6133, allocations: 0.7419 MB / 0.702 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.6133, allocations: 69.95 kB / 0.7021 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/0.6134, allocations: 96 kB / 0.7022 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/0.6149, allocations: 1.012 MB / 0.7032 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.615, allocations: 0 / 0.7032 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-05/0.6151, allocations: 39.98 kB / 0.7032 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.6151, allocations: 24 kB / 0.7032 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.6168, allocations: 1.175 MB / 0.7044 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003589/0.6204, allocations: 2.731 MB / 0.707 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001461/0.6218, allocations: 0.9129 MB / 0.7079 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/0.6223, allocations: 318.5 kB / 0.7082 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005371/0.6229, allocations: 474.1 kB / 0.7087 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008225/0.6237, allocations: 0.503 MB / 0.7092 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 2.484e-06/0.6237, allocations: 4 kB / 0.7092 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82): time 0.002712/0.6265, allocations: 1.229 MB / 0.7104 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/0.6266, allocations: 200.5 kB / 0.7106 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006872/0.6273, allocations: 0.6333 MB / 0.7112 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.6273, allocations: 37.7 kB / 0.7112 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.6276, allocations: 436.1 kB / 0.7116 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.6278, allocations: 264.2 kB / 0.7119 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.6278, allocations: 12 kB / 0.7119 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.628, allocations: 390.7 kB / 0.7123 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/0.6285, allocations: 249.9 kB / 0.7125 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005642/0.6291, allocations: 370.5 kB / 0.7129 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005467/0.6296, allocations: 306.9 kB / 0.7132 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.6296, allocations: 0 / 0.7132 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001638/0.6313, allocations: 0.8292 MB / 0.714 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.6313, allocations: 8 kB / 0.714 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.6313, allocations: 0 / 0.714 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000502/0.6318, allocations: 84.86 kB / 0.7141 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005847/0.6324, allocations: 151.8 kB / 0.7142 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.6342, allocations: 1.524 MB / 0.7157 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/0.6348, allocations: 103.3 kB / 0.7158 GB, free: 7.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.6349, allocations: 32.05 kB / 0.7158 GB, free: 7.398 MB / 0.5294 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.0004046/0.6353, allocations: 278.2 kB / 0.7161 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.6354, allocations: 86.91 kB / 0.7162 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.6376, allocations: 1.106 MB / 0.7172 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/0.6377, allocations: 12 kB / 0.7173 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6377, allocations: 0 / 0.7173 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.6377, allocations: 4.078 kB / 0.7173 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003055/0.6408, allocations: 2.021 MB / 0.7192 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6408, allocations: 0 / 0.7192 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.6413, allocations: 147.8 kB / 0.7194 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000439/0.6418, allocations: 88.77 kB / 0.7195 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.253e-05/0.6419, allocations: 23.98 kB / 0.7195 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.6434, allocations: 1.548 MB / 0.721 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.6434, allocations: 0 / 0.721 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.6453, allocations: 1.019 MB / 0.722 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.6457, allocations: 291.6 kB / 0.7223 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.6458, allocations: 20 kB / 0.7223 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006425/0.6465, allocations: 92.88 kB / 0.7224 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.6466, allocations: 72.89 kB / 0.7224 GB, free: 352 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.6467, allocations: 31.98 kB / 0.7225 GB, free: 320 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005916/0.6473, allocations: 471 kB / 0.7229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6473, allocations: 0 / 0.7229 GB, free: 15.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009003/0.6482, allocations: 327.2 kB / 0.7232 GB, free: 15.54 MB / 0.545 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.003329/0.6515, allocations: 2.085 MB / 0.7253 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001556/0.6531, allocations: 0.8195 MB / 0.7261 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6531, allocations: 4 kB / 0.7261 GB, free: 12.79 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000867/0.654, allocations: 0.5315 MB / 0.7266 GB, free: 12.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6551, allocations: 265.9 kB / 0.7269 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009882/0.665, allocations: 5.276 MB / 0.732 GB, free: 6.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.6658, allocations: 1.051 MB / 0.733 GB, free: 5.523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008846/0.6667, allocations: 258.7 kB / 0.7333 GB, free: 5.266 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/0.6673, allocations: 407.3 kB / 0.7337 GB, free: 4.867 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.6673, allocations: 0 / 0.7337 GB, free: 4.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04013/0.7074, allocations: 21.83 MB / 0.755 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/0.7077, allocations: 285.9 kB / 0.7553 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.987, allocations: 4 kB / 0.7553 GB, free: 15.11 MB / 0.5762 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: