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: translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001103, allocations: 105.5 kB / 16.4 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7069/0.7069, allocations: 115.3 MB / 406.5 MB, free: 6.199 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.48 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1498, allocations: 76.17 MB / 0.6321 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006691/0.1565, allocations: 5.151 MB / 0.6371 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.532/0.6885, allocations: 150.7 MB / 0.7843 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009756/0.6895, allocations: 19.53 kB / 0.7843 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006254/0.6902, allocations: 206.1 kB / 0.7845 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001821/0.6921, allocations: 0.5575 MB / 0.785 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00206/0.6941, allocations: 0.8665 MB / 0.7859 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001566/0.6957, allocations: 1.448 MB / 0.7873 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008864/0.6966, allocations: 0.6593 MB / 0.7879 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007538/0.6974, allocations: 0.5228 MB / 0.7884 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006083/0.698, allocations: 0.5469 MB / 0.789 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001648/0.6982, allocations: 124.7 kB / 0.7891 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001033/0.6992, allocations: 0.5054 MB / 0.7896 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.6995, allocations: 311.4 kB / 0.7899 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000524/0.7001, allocations: 0.6114 MB / 0.7905 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001863/0.7019, allocations: 1.756 MB / 0.7922 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.702, allocations: 4 kB / 0.7922 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.224e-06/0.702, allocations: 3.031 kB / 0.7922 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.714e-05/0.702, allocations: 0 / 0.7922 GB, free: 13.07 MB / 0.5919 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.002636/0.7046, allocations: 1.504 MB / 0.7937 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.7047, allocations: 10.09 kB / 0.7937 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.7058, allocations: 216.1 kB / 0.7939 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.7071, allocations: 0.7902 MB / 0.7947 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.826e-05/0.7071, allocations: 72.22 kB / 0.7947 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.7072, allocations: 87.62 kB / 0.7948 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.7089, allocations: 1.012 MB / 0.7958 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.7089, allocations: 3.75 kB / 0.7958 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.709, allocations: 44.88 kB / 0.7958 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.917e-05/0.709, allocations: 26.84 kB / 0.7959 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00181/0.7108, allocations: 1.175 MB / 0.797 GB, free: 11.66 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004507/0.7153, allocations: 2.934 MB / 0.7999 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.7171, allocations: 0.9221 MB / 0.8008 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005848/0.7177, allocations: 312.1 kB / 0.8011 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007598/0.7185, allocations: 477.7 kB / 0.8015 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009161/0.7194, allocations: 0.4991 MB / 0.802 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.805e-06/0.7194, allocations: 2.688 kB / 0.802 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.003384/0.7228, allocations: 1.234 MB / 0.8032 GB, free: 9.035 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.7229, allocations: 196 kB / 0.8034 GB, free: 8.812 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008838/0.7238, allocations: 0.6438 MB / 0.804 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.942e-05/0.7239, allocations: 43.61 kB / 0.8041 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.7243, allocations: 430.6 kB / 0.8045 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.7245, allocations: 260.8 kB / 0.8047 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.7248, allocations: 166.9 kB / 0.8049 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.7249, allocations: 388.9 kB / 0.8053 GB, free: 7.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005259/0.7255, allocations: 280.6 kB / 0.8055 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.7261, allocations: 371.4 kB / 0.8059 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001108/0.7272, allocations: 0.6252 MB / 0.8065 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7272, allocations: 0 / 0.8065 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001978/0.7292, allocations: 0.8818 MB / 0.8074 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.7293, allocations: 9.25 kB / 0.8074 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.7293, allocations: 0 / 0.8074 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005833/0.7299, allocations: 80.91 kB / 0.8075 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006611/0.7305, allocations: 165.6 kB / 0.8076 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/0.7328, allocations: 1.636 MB / 0.8092 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008116/0.7336, allocations: 95.42 kB / 0.8093 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/0.7337, allocations: 41.72 kB / 0.8093 GB, free: 5.691 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004951/0.7342, allocations: 278.1 kB / 0.8096 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.7344, allocations: 82.66 kB / 0.8097 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/0.7367, allocations: 1.094 MB / 0.8108 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7368, allocations: 17.39 kB / 0.8108 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.866e-06/0.7368, allocations: 0 / 0.8108 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.7368, allocations: 3.984 kB / 0.8108 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/0.7401, allocations: 2.003 MB / 0.8127 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.7401, allocations: 0 / 0.8127 GB, free: 3.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/0.7407, allocations: 154.8 kB / 0.8129 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.7412, allocations: 74.97 kB / 0.813 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.7413, allocations: 26.11 kB / 0.813 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.7433, allocations: 1.662 MB / 0.8146 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.7433, allocations: 0 / 0.8146 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.7456, allocations: 1.017 MB / 0.8156 GB, free: 1.383 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004349/0.746, allocations: 275.8 kB / 0.8159 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.7462, allocations: 20.69 kB / 0.8159 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006706/0.7468, allocations: 75.92 kB / 0.8159 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.747, allocations: 72.09 kB / 0.816 GB, free: 1.051 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/0.7471, allocations: 34.66 kB / 0.816 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006134/0.7477, allocations: 463.5 kB / 0.8165 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7477, allocations: 2.125 kB / 0.8165 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001162/0.7489, allocations: 362.4 kB / 0.8168 GB, free: 0.6641 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/0.7503, allocations: 0.6094 MB / 0.8174 GB, free: 408 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.7521, allocations: 0.8584 MB / 0.8183 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7521, allocations: 2.625 kB / 0.8183 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009558/0.7531, allocations: 0.5439 MB / 0.8188 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/0.7544, allocations: 299.8 kB / 0.8191 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003081/0.7575, allocations: 1.713 MB / 0.8208 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.7581, allocations: 1.045 MB / 0.8218 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008223/0.7589, allocations: 270.7 kB / 0.822 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.7592, allocations: 112 kB / 0.8221 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of SimCode: time 3.086e-06/0.7592, allocations: 0 / 0.8221 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of Templates: time 0.02617/0.7854, allocations: 16.22 MB / 0.838 GB, free: 352 kB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (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 & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)