Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 119.3 kB / 17.09 MB, free: 6.012 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.001489/0.001489, allocations: 195 kB / 18.02 MB, free: 5.094 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.255/1.255, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6831/0.6831, allocations: 115.3 MB / 407.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 65.97 kB / 0.5583 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1441, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00756/0.1517, allocations: 5.941 MB / 0.6385 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4868/0.6385, allocations: 150.8 MB / 0.7858 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009083/0.6395, allocations: 22.09 kB / 0.7858 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006473/0.6402, allocations: 244.3 kB / 0.7861 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.642, allocations: 0.6343 MB / 0.7867 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.6438, allocations: 0.8746 MB / 0.7875 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001641/0.6454, allocations: 1.657 MB / 0.7891 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.6465, allocations: 0.8607 MB / 0.79 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.6474, allocations: 0.6184 MB / 0.7906 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008239/0.6483, allocations: 0.6582 MB / 0.7912 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.6485, allocations: 157.9 kB / 0.7914 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009634/0.6495, allocations: 0.5121 MB / 0.7919 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002796/0.6498, allocations: 377.5 kB / 0.7922 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005569/0.6503, allocations: 0.7376 MB / 0.793 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001847/0.6522, allocations: 2.027 MB / 0.7949 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6522, allocations: 0 / 0.7949 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6522, allocations: 4 kB / 0.7949 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.844e-05/0.6522, allocations: 2.438 kB / 0.7949 GB, free: 12.64 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.002799/0.655, allocations: 1.715 MB / 0.7966 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.6551, allocations: 8.625 kB / 0.7966 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009158/0.656, allocations: 228 kB / 0.7968 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.6572, allocations: 0.8655 MB / 0.7977 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.6572, allocations: 91.22 kB / 0.7978 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.6574, allocations: 116.7 kB / 0.7979 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00183/0.6592, allocations: 1.204 MB / 0.7991 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.6592, allocations: 1.688 kB / 0.7991 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.229e-05/0.6593, allocations: 49.91 kB / 0.7991 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.6594, allocations: 30.41 kB / 0.7991 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.6612, allocations: 1.289 MB / 0.8004 GB, free: 11.05 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.004494/0.6657, allocations: 3.532 MB / 0.8039 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001351/0.6671, allocations: 0.8745 MB / 0.8047 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004834/0.6675, allocations: 320.8 kB / 0.805 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.95e-05/0.6676, allocations: 28.58 kB / 0.805 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008318/0.6685, allocations: 0.5261 MB / 0.8056 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=87): time 2.394e-06/0.6685, allocations: 0 / 0.8056 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of matching and sorting (n=87): time 0.003008/0.6715, allocations: 1.283 MB / 0.8068 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.6716, allocations: 190.6 kB / 0.807 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008251/0.6724, allocations: 0.7331 MB / 0.8077 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-05/0.6725, allocations: 48.67 kB / 0.8078 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003524/0.6729, allocations: 0.5151 MB / 0.8083 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.6731, allocations: 286.2 kB / 0.8085 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/0.6733, allocations: 174.5 kB / 0.8087 GB, free: 7.301 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.6735, allocations: 343.1 kB / 0.809 GB, free: 6.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004979/0.674, allocations: 292.5 kB / 0.8093 GB, free: 6.941 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.6746, allocations: 393.4 kB / 0.8097 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.6757, allocations: 0.6531 MB / 0.8103 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6757, allocations: 4 kB / 0.8103 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001941/0.6776, allocations: 0.9248 MB / 0.8112 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6777, allocations: 4.719 kB / 0.8112 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6777, allocations: 0 / 0.8112 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005554/0.6782, allocations: 90.45 kB / 0.8113 GB, free: 5.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.6789, allocations: 177.6 kB / 0.8115 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002072/0.681, allocations: 1.626 MB / 0.8131 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007836/0.6818, allocations: 101.2 kB / 0.8132 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.6819, allocations: 40.38 kB / 0.8132 GB, free: 4.152 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 (104): * Single equations (assignments): 103 * 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.0005026/0.6824, allocations: 305.4 kB / 0.8135 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.6825, allocations: 92.25 kB / 0.8136 GB, free: 3.867 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002267/0.6848, allocations: 1.127 MB / 0.8147 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.6848, allocations: 9.781 kB / 0.8147 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6848, allocations: 3.938 kB / 0.8147 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6849, allocations: 3.984 kB / 0.8147 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.686, allocations: 1.05 MB / 0.8157 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.686, allocations: 0 / 0.8157 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.6866, allocations: 153.8 kB / 0.8159 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004145/0.687, allocations: 74.16 kB / 0.8159 GB, free: 2.406 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.309e-05/0.6871, allocations: 26.08 kB / 0.816 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.6889, allocations: 1.661 MB / 0.8176 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6889, allocations: 3.938 kB / 0.8176 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.6909, allocations: 0.9821 MB / 0.8185 GB, free: 248 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.6913, allocations: 286.2 kB / 0.8188 GB, free: 15.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.6915, allocations: 24.75 kB / 0.8188 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/0.6922, allocations: 64.31 kB / 0.8189 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.6923, allocations: 83.95 kB / 0.819 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/0.6924, allocations: 37.72 kB / 0.819 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006539/0.693, allocations: 0.512 MB / 0.8195 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6931, allocations: 0 / 0.8195 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009255/0.694, allocations: 388.6 kB / 0.8199 GB, free: 15.48 MB / 0.6075 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 92 * 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.001332/0.6953, allocations: 0.6162 MB / 0.8205 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.6971, allocations: 0.8889 MB / 0.8214 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.6971, allocations: 0 / 0.8214 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009125/0.698, allocations: 0.543 MB / 0.8219 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.6993, allocations: 328.5 kB / 0.8222 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.7027, allocations: 2.011 MB / 0.8242 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/0.7034, allocations: 1.11 MB / 0.8253 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003253/0.7037, allocations: 125.1 kB / 0.8254 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.7037, allocations: 0 / 0.8254 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.02814/0.7319, allocations: 21.9 MB / 0.8468 GB, free: 8.312 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)