Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001177/0.001177, 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/package.mo): time 0.6971/0.6972, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.459/1.459, allocations: 222.9 MB / 403.4 MB, free: 7.074 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.001039/0.001039, allocations: 113.9 kB / 484.4 MB, free: 8.719 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009905/0.0009906, allocations: 55.92 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1305, allocations: 80.2 MB / 0.6402 GB, free: 6.785 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005653/0.1362, allocations: 4.2 MB / 0.6443 GB, free: 2.559 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4775/0.6137, allocations: 148.2 MB / 0.789 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006378/0.6144, allocations: 15.94 kB / 0.789 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.6149, allocations: 138.5 kB / 0.7892 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001332/0.6163, allocations: 396.8 kB / 0.7895 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.618, allocations: 0.7159 MB / 0.7902 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00113/0.6192, allocations: 1.126 MB / 0.7913 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008941/0.6201, allocations: 0.6688 MB / 0.792 GB, free: 7.617 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005487/0.6206, allocations: 406.3 kB / 0.7924 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.6211, allocations: 453.8 kB / 0.7928 GB, free: 6.773 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.6212, allocations: 60 kB / 0.7929 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008251/0.6221, allocations: 425.6 kB / 0.7933 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002394/0.6223, allocations: 239 kB / 0.7935 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004023/0.6227, allocations: 485.1 kB / 0.794 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.6242, allocations: 1.503 MB / 0.7954 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6242, allocations: 4 kB / 0.7954 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of FrontEnd: time 7.92e-07/0.6243, allocations: 0.5625 kB / 0.7954 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.6243, allocations: 0 / 0.7954 GB, free: 4.082 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.002279/0.6266, allocations: 1.388 MB / 0.7968 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.6266, allocations: 12.03 kB / 0.7968 GB, free: 2.633 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.6277, allocations: 199.4 kB / 0.797 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.6287, allocations: 0.727 MB / 0.7977 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.6288, allocations: 73.69 kB / 0.7978 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6289, allocations: 91.94 kB / 0.7979 GB, free: 1.512 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.6305, allocations: 0.9457 MB / 0.7988 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.6305, allocations: 0 / 0.7988 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.453e-05/0.6306, allocations: 43.98 kB / 0.7988 GB, free: 492 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.6306, allocations: 28 kB / 0.7989 GB, free: 464 kB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001871/0.6325, allocations: 1.116 MB / 0.8 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/0.6366, allocations: 2.566 MB / 0.8025 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/0.6381, allocations: 0.8273 MB / 0.8033 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005363/0.6386, allocations: 287.3 kB / 0.8035 GB, free: 11.56 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.6393, allocations: 466.2 kB / 0.804 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008321/0.6401, allocations: 443.1 kB / 0.8044 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=73): time 2.595e-06/0.6402, allocations: 4 kB / 0.8044 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.003021/0.6432, allocations: 1.1 MB / 0.8055 GB, free: 9.434 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.6433, allocations: 188.6 kB / 0.8057 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000751/0.644, allocations: 0.6057 MB / 0.8063 GB, free: 8.598 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/0.6441, allocations: 37.7 kB / 0.8063 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002988/0.6444, allocations: 404.2 kB / 0.8067 GB, free: 8.152 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001806/0.6446, allocations: 248.4 kB / 0.8069 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.6448, allocations: 150.5 kB / 0.8071 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.645, allocations: 382.7 kB / 0.8074 GB, free: 7.367 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.6455, allocations: 245.8 kB / 0.8077 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005834/0.6461, allocations: 335.1 kB / 0.808 GB, free: 6.789 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.6472, allocations: 0.5643 MB / 0.8085 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.6472, allocations: 0 / 0.8085 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001942/0.6491, allocations: 0.7903 MB / 0.8093 GB, free: 5.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.6492, allocations: 9.719 kB / 0.8093 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.6492, allocations: 0 / 0.8093 GB, free: 5.402 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.6498, allocations: 84.86 kB / 0.8094 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006298/0.6504, allocations: 147.8 kB / 0.8095 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.6524, allocations: 1.526 MB / 0.811 GB, free: 3.512 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/0.653, allocations: 86.33 kB / 0.8111 GB, free: 3.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.932e-05/0.6531, allocations: 32.05 kB / 0.8111 GB, free: 3.398 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.0003907/0.6535, allocations: 266.3 kB / 0.8114 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.6537, allocations: 79 kB / 0.8115 GB, free: 3.051 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0023/0.656, allocations: 0.9917 MB / 0.8124 GB, free: 2.047 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.656, allocations: 11.94 kB / 0.8124 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.656, allocations: 0 / 0.8124 GB, free: 2.035 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.656, allocations: 3.984 kB / 0.8124 GB, free: 2.031 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003095/0.6591, allocations: 1.892 MB / 0.8143 GB, free: 84 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.6591, allocations: 0 / 0.8143 GB, free: 84 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005976/0.6597, allocations: 143.8 kB / 0.8144 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/0.6602, allocations: 88.7 kB / 0.8145 GB, free: 15.85 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.6603, allocations: 23.98 kB / 0.8145 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.6621, allocations: 1.552 MB / 0.8161 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6621, allocations: 1.719 kB / 0.8161 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.665, allocations: 1.939 MB / 0.8179 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.6654, allocations: 259.8 kB / 0.8182 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.747e-05/0.6655, allocations: 20 kB / 0.8182 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000563/0.666, allocations: 51.94 kB / 0.8183 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.6662, allocations: 60.92 kB / 0.8183 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.421e-05/0.6663, allocations: 27.98 kB / 0.8184 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000531/0.6668, allocations: 439 kB / 0.8188 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6668, allocations: 0 / 0.8188 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009577/0.6678, allocations: 319.2 kB / 0.8191 GB, free: 10.96 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.001545/0.6693, allocations: 0.6089 MB / 0.8197 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.6711, allocations: 0.7692 MB / 0.8204 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6711, allocations: 0 / 0.8204 GB, free: 9.754 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008888/0.672, allocations: 0.4964 MB / 0.8209 GB, free: 9.246 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001147/0.6731, allocations: 262.6 kB / 0.8212 GB, free: 9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.6775, allocations: 2.581 MB / 0.8237 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005856/0.6781, allocations: 1.043 MB / 0.8247 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009223/0.679, allocations: 250.2 kB / 0.8249 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.6793, allocations: 103.3 kB / 0.825 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of SimCode: time 1.042e-06/0.6793, allocations: 0 / 0.825 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of Templates: time 0.02443/0.7038, allocations: 14.02 MB / 0.8387 GB, free: 7.059 MB / 0.573 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1)