Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6863/0.6863, allocations: 133.3 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 404.7 MB, free: 6.059 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009903/0.0009902, allocations: 98.95 kB / 485.9 MB, free: 7.25 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009854/0.0009854, allocations: 51.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1323, allocations: 80.42 MB / 0.6421 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005536/0.1379, allocations: 4.204 MB / 0.6462 GB, free: 1.219 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.5617/0.6996, allocations: 148.2 MB / 0.791 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007768/0.7005, allocations: 15.94 kB / 0.791 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004825/0.7009, allocations: 138.5 kB / 0.7911 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.7024, allocations: 402.4 kB / 0.7915 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001721/0.7041, allocations: 0.7037 MB / 0.7922 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001082/0.7052, allocations: 1.133 MB / 0.7933 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008731/0.7061, allocations: 0.6728 MB / 0.794 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004934/0.7066, allocations: 402.3 kB / 0.7944 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004503/0.7071, allocations: 453.8 kB / 0.7948 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.7072, allocations: 60 kB / 0.7948 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008186/0.708, allocations: 426.8 kB / 0.7953 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002147/0.7083, allocations: 231.1 kB / 0.7955 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.7086, allocations: 497.1 kB / 0.7959 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.7101, allocations: 1.495 MB / 0.7974 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.7101, allocations: 0 / 0.7974 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of FrontEnd: time 9.01e-07/0.7101, allocations: 0 / 0.7974 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.24e-05/0.7101, allocations: 0 / 0.7974 GB, free: 2.094 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002133/0.7123, allocations: 1.392 MB / 0.7988 GB, free: 0.6484 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.7123, allocations: 12.03 kB / 0.7988 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.7133, allocations: 203.4 kB / 0.799 GB, free: 448 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.7144, allocations: 0.7309 MB / 0.7997 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.687e-05/0.7144, allocations: 66 kB / 0.7998 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7145, allocations: 84 kB / 0.7998 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.716, allocations: 0.9496 MB / 0.8008 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.716, allocations: 4 kB / 0.8008 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.605e-05/0.7161, allocations: 40 kB / 0.8008 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.7162, allocations: 24 kB / 0.8008 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001815/0.718, allocations: 1.12 MB / 0.8019 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003779/0.7218, allocations: 2.577 MB / 0.8044 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00146/0.7233, allocations: 0.8268 MB / 0.8052 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.7238, allocations: 286.7 kB / 0.8055 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007108/0.7245, allocations: 466.1 kB / 0.806 GB, free: 9.016 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.7256, allocations: 439.2 kB / 0.8064 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=73): time 5.2e-06/0.7256, allocations: 0 / 0.8064 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.003179/0.7288, allocations: 1.1 MB / 0.8075 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.7289, allocations: 192.3 kB / 0.8076 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.7297, allocations: 0.6057 MB / 0.8082 GB, free: 6.602 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.7298, allocations: 41.7 kB / 0.8083 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.7301, allocations: 396.2 kB / 0.8086 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.7303, allocations: 248.4 kB / 0.8089 GB, free: 5.914 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002273/0.7305, allocations: 150.5 kB / 0.809 GB, free: 5.762 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7307, allocations: 386.7 kB / 0.8094 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004893/0.7312, allocations: 245.9 kB / 0.8096 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005677/0.7318, allocations: 331.1 kB / 0.8099 GB, free: 4.793 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.7328, allocations: 0.5721 MB / 0.8105 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7328, allocations: 0 / 0.8105 GB, free: 4.215 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001858/0.7347, allocations: 0.7903 MB / 0.8113 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.7347, allocations: 8 kB / 0.8113 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.7347, allocations: 4.094 kB / 0.8113 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.7354, allocations: 76.78 kB / 0.8114 GB, free: 3.324 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006235/0.736, allocations: 151.8 kB / 0.8115 GB, free: 3.176 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.7381, allocations: 1.521 MB / 0.813 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006426/0.7388, allocations: 83.39 kB / 0.8131 GB, free: 1.438 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.036e-05/0.7389, allocations: 35.97 kB / 0.8131 GB, free: 1.402 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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.0004455/0.7393, allocations: 255.9 kB / 0.8133 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.7395, allocations: 79 kB / 0.8134 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002344/0.7418, allocations: 1.01 MB / 0.8144 GB, free: 52 kB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.7418, allocations: 8 kB / 0.8144 GB, free: 44 kB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.7419, allocations: 0 / 0.8144 GB, free: 44 kB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.7419, allocations: 3.984 kB / 0.8144 GB, free: 40 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.7451, allocations: 1.888 MB / 0.8163 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.7451, allocations: 0 / 0.8163 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/0.7457, allocations: 147.8 kB / 0.8164 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005128/0.7462, allocations: 84.7 kB / 0.8165 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.903e-05/0.7463, allocations: 23.98 kB / 0.8165 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00166/0.7479, allocations: 1.544 MB / 0.818 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7479, allocations: 0 / 0.818 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/0.751, allocations: 1.939 MB / 0.8199 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.7514, allocations: 259.8 kB / 0.8202 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.7515, allocations: 18.81 kB / 0.8202 GB, free: 9.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/0.7521, allocations: 59.94 kB / 0.8202 GB, free: 9.797 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/0.7523, allocations: 56.91 kB / 0.8203 GB, free: 9.742 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.002e-05/0.7524, allocations: 32.05 kB / 0.8203 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005646/0.7529, allocations: 435 kB / 0.8207 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.753, allocations: 0 / 0.8207 GB, free: 9.289 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001093/0.7541, allocations: 323.2 kB / 0.821 GB, free: 8.973 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001391/0.7555, allocations: 0.6193 MB / 0.8216 GB, free: 8.531 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001656/0.7571, allocations: 0.7694 MB / 0.8224 GB, free: 7.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.7571, allocations: 4 kB / 0.8224 GB, free: 7.746 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009721/0.7581, allocations: 492.2 kB / 0.8229 GB, free: 7.254 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.7593, allocations: 262.5 kB / 0.8231 GB, free: 7.004 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.7636, allocations: 2.573 MB / 0.8256 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005895/0.7642, allocations: 1.042 MB / 0.8267 GB, free: 3.316 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000819/0.7651, allocations: 262.1 kB / 0.8269 GB, free: 3.059 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.7653, allocations: 95.39 kB / 0.827 GB, free: 2.969 MB / 0.5573 GB Notification: Performance of SimCode: time 4.21e-07/0.7653, allocations: 4 kB / 0.827 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of Templates: time 0.02192/0.7872, allocations: 14.02 MB / 0.8407 GB, free: 5.062 MB / 0.573 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)