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.001096/0.001096, allocations: 102.1 kB / 16.4 MB, free: 6.449 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.001145/0.001146, allocations: 196 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7116/0.7116, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 64.98 kB / 0.5577 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1276, allocations: 76.18 MB / 0.6321 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006328/0.134, allocations: 5.142 MB / 0.6371 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4993/0.6333, allocations: 150.7 MB / 0.7843 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.6345, allocations: 20.25 kB / 0.7843 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007063/0.6352, allocations: 203.2 kB / 0.7845 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.6372, allocations: 0.5641 MB / 0.785 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.639, allocations: 0.8648 MB / 0.7859 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.6405, allocations: 1.456 MB / 0.7873 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008928/0.6414, allocations: 0.6556 MB / 0.7879 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007031/0.6421, allocations: 0.52 MB / 0.7884 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005568/0.6426, allocations: 0.5447 MB / 0.789 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001708/0.6428, allocations: 125.1 kB / 0.7891 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009044/0.6437, allocations: 0.5076 MB / 0.7896 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002383/0.644, allocations: 311.9 kB / 0.7899 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004517/0.6444, allocations: 0.6104 MB / 0.7905 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.6461, allocations: 1.756 MB / 0.7922 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6461, allocations: 0 / 0.7922 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6461, allocations: 0 / 0.7922 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.286e-05/0.6462, allocations: 0 / 0.7922 GB, free: 13.03 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.002377/0.6485, allocations: 1.51 MB / 0.7937 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.6486, allocations: 8.062 kB / 0.7937 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.6496, allocations: 220 kB / 0.7939 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.6507, allocations: 0.7788 MB / 0.7947 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.537e-05/0.6507, allocations: 72.06 kB / 0.7947 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.6508, allocations: 90.2 kB / 0.7948 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.6524, allocations: 1.017 MB / 0.7958 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.6524, allocations: 1.688 kB / 0.7958 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.752e-05/0.6525, allocations: 44.22 kB / 0.7958 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.6525, allocations: 22.94 kB / 0.7959 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.6542, allocations: 1.181 MB / 0.797 GB, free: 11.61 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.003677/0.6579, allocations: 2.932 MB / 0.7999 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.6594, allocations: 0.9187 MB / 0.8008 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.6599, allocations: 316 kB / 0.8011 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/0.6605, allocations: 476.2 kB / 0.8015 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007965/0.6613, allocations: 0.5001 MB / 0.802 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.114e-06/0.6613, allocations: 0 / 0.802 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.00312/0.6644, allocations: 1.23 MB / 0.8032 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/0.6645, allocations: 197.8 kB / 0.8034 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007524/0.6653, allocations: 0.6445 MB / 0.804 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.6654, allocations: 42.42 kB / 0.8041 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003326/0.6657, allocations: 427 kB / 0.8045 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.6659, allocations: 266.6 kB / 0.8047 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.6662, allocations: 161.3 kB / 0.8049 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6664, allocations: 397.3 kB / 0.8053 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.6669, allocations: 272.6 kB / 0.8055 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006046/0.6675, allocations: 376.6 kB / 0.8059 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.6686, allocations: 0.6284 MB / 0.8065 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6686, allocations: 0 / 0.8065 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001935/0.6706, allocations: 0.8715 MB / 0.8074 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.6706, allocations: 20.55 kB / 0.8074 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6706, allocations: 0 / 0.8074 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.6712, allocations: 81.09 kB / 0.8075 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.6718, allocations: 165.5 kB / 0.8076 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/0.6739, allocations: 1.621 MB / 0.8092 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.6746, allocations: 98.84 kB / 0.8093 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.6747, allocations: 45.25 kB / 0.8093 GB, free: 5.645 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.0004968/0.6752, allocations: 271.5 kB / 0.8096 GB, free: 5.508 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.6754, allocations: 87.61 kB / 0.8097 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.6778, allocations: 1.097 MB / 0.8108 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.6778, allocations: 7.781 kB / 0.8108 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.6778, allocations: 2.438 kB / 0.8108 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.6778, allocations: 7.969 kB / 0.8108 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003194/0.681, allocations: 2.007 MB / 0.8127 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.681, allocations: 3.562 kB / 0.8127 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.6816, allocations: 152.9 kB / 0.8129 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000427/0.682, allocations: 70.77 kB / 0.8129 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.674e-05/0.6821, allocations: 29.94 kB / 0.813 GB, free: 3.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.6841, allocations: 1.663 MB / 0.8146 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.6841, allocations: 4.062 kB / 0.8146 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.6861, allocations: 1.013 MB / 0.8156 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003413/0.6864, allocations: 277.4 kB / 0.8159 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001238/0.6866, allocations: 25.62 kB / 0.8159 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006635/0.6872, allocations: 68.42 kB / 0.8159 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.6874, allocations: 69.22 kB / 0.816 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.624e-05/0.6874, allocations: 38.53 kB / 0.8161 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000529/0.688, allocations: 466.6 kB / 0.8165 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.688, allocations: 0 / 0.8165 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008774/0.6889, allocations: 358.1 kB / 0.8168 GB, free: 0.6562 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.001276/0.6902, allocations: 0.6254 MB / 0.8174 GB, free: 388 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001683/0.6919, allocations: 0.8524 MB / 0.8183 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.6919, allocations: 0 / 0.8183 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009186/0.6928, allocations: 0.5375 MB / 0.8188 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001241/0.694, allocations: 304.7 kB / 0.8191 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002819/0.6969, allocations: 1.714 MB / 0.8208 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.6975, allocations: 1.046 MB / 0.8218 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007935/0.6983, allocations: 261.8 kB / 0.822 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.6985, allocations: 112.8 kB / 0.8221 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of SimCode: time 6.51e-07/0.6986, allocations: 0 / 0.8221 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of Templates: time 0.02636/0.7249, allocations: 15.94 MB / 0.8377 GB, free: 0.6289 MB / 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)