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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008572/0.0008572, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.0009349/0.0009349, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.2/1.2, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8425/0.8425, allocations: 135.2 MB / 426.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002714/0.0002714, allocations: 12 kB / 0.5068 GB, free: 5.258 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 82.31 MB / 0.5872 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.003923/0.1469, allocations: 3.514 MB / 0.5906 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3836/0.5306, allocations: 127.5 MB / 0.7151 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009139/0.5315, allocations: 16.97 kB / 0.7151 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004636/0.532, allocations: 79.38 kB / 0.7152 GB, free: 15.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001823/0.5339, allocations: 463 kB / 0.7157 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.5357, allocations: 0.6186 MB / 0.7163 GB, free: 14.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001245/0.537, allocations: 0.7524 MB / 0.717 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007611/0.5377, allocations: 0.5358 MB / 0.7175 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006137/0.5383, allocations: 312.9 kB / 0.7178 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004526/0.5388, allocations: 300.8 kB / 0.7181 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.329e-05/0.5389, allocations: 21.09 kB / 0.7181 GB, free: 13.6 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.54, allocations: 325.7 kB / 0.7184 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002467/0.5402, allocations: 169 kB / 0.7186 GB, free: 13.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.5405, allocations: 187.9 kB / 0.7188 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.5421, allocations: 1.137 MB / 0.7199 GB, free: 13.01 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.5421, allocations: 0 / 0.7199 GB, free: 13.01 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5421, allocations: 0 / 0.7199 GB, free: 13.01 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.5421, allocations: 4 kB / 0.7199 GB, free: 13 MB / 0.545 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.002053/0.5442, allocations: 1.191 MB / 0.7211 GB, free: 12.17 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.5442, allocations: 9.031 kB / 0.7211 GB, free: 12.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.5453, allocations: 219.9 kB / 0.7213 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.5464, allocations: 0.6982 MB / 0.722 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.607e-05/0.5464, allocations: 70.3 kB / 0.722 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.5466, allocations: 88.53 kB / 0.7221 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.5482, allocations: 0.9439 MB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.5482, allocations: 0.9062 kB / 0.723 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.904e-05/0.5483, allocations: 36.59 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.5483, allocations: 22.19 kB / 0.7231 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.5501, allocations: 1.127 MB / 0.7242 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.554, allocations: 2.586 MB / 0.7267 GB, free: 9.434 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001405/0.5554, allocations: 0.8269 MB / 0.7275 GB, free: 9.059 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006296/0.5561, allocations: 473.9 kB / 0.728 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007805/0.5569, allocations: 443.5 kB / 0.7284 GB, free: 8.387 MB / 0.545 GB Notification: Performance of pre-optimization done (n=73): time 2.274e-06/0.5569, allocations: 4 kB / 0.7284 GB, free: 8.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=73): time 0.002647/0.5595, allocations: 1.11 MB / 0.7295 GB, free: 7.918 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/0.5597, allocations: 187.7 kB / 0.7297 GB, free: 7.699 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006648/0.5603, allocations: 0.5975 MB / 0.7303 GB, free: 7.434 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.5604, allocations: 44.98 kB / 0.7303 GB, free: 7.387 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.5607, allocations: 402.4 kB / 0.7307 GB, free: 7.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.5608, allocations: 240.8 kB / 0.7309 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.5609, allocations: 8 kB / 0.7309 GB, free: 6.879 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.5611, allocations: 382.1 kB / 0.7313 GB, free: 6.535 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.5615, allocations: 220.6 kB / 0.7315 GB, free: 6.465 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.5621, allocations: 327.2 kB / 0.7318 GB, free: 6.297 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.5626, allocations: 275.6 kB / 0.7321 GB, free: 6.18 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.5626, allocations: 0 / 0.7321 GB, free: 6.18 MB / 0.545 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001676/0.5643, allocations: 0.7494 MB / 0.7328 GB, free: 5.879 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.5643, allocations: 6.188 kB / 0.7328 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.5643, allocations: 0 / 0.7328 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.5649, allocations: 83.64 kB / 0.7329 GB, free: 5.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/0.5655, allocations: 142.4 kB / 0.733 GB, free: 5.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.5674, allocations: 1.537 MB / 0.7345 GB, free: 4.406 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.568, allocations: 85.66 kB / 0.7346 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.568, allocations: 28.17 kB / 0.7346 GB, free: 4.359 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000391/0.5684, allocations: 261 kB / 0.7349 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.5685, allocations: 76.44 kB / 0.7349 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.5707, allocations: 1.011 MB / 0.7359 GB, free: 3.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.5707, allocations: 8 kB / 0.7359 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.5708, allocations: 0 / 0.7359 GB, free: 3.297 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.5708, allocations: 9.438 kB / 0.736 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.5737, allocations: 1.902 MB / 0.7378 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5737, allocations: 4 kB / 0.7378 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.5743, allocations: 151.7 kB / 0.738 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004643/0.5748, allocations: 84.77 kB / 0.738 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.022e-05/0.5748, allocations: 19.98 kB / 0.7381 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.5765, allocations: 1.559 MB / 0.7396 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5765, allocations: 0 / 0.7396 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.5782, allocations: 0.9259 MB / 0.7405 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003669/0.5786, allocations: 275.7 kB / 0.7407 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.5787, allocations: 16 kB / 0.7408 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005689/0.5793, allocations: 73.16 kB / 0.7408 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.5794, allocations: 60.91 kB / 0.7409 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-05/0.5795, allocations: 31.94 kB / 0.7409 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004933/0.58, allocations: 439 kB / 0.7413 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.8e-07/0.58, allocations: 0 / 0.7413 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008802/0.5809, allocations: 307.2 kB / 0.7416 GB, free: 13.52 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001242/0.5821, allocations: 0.6043 MB / 0.7422 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.5836, allocations: 0.7347 MB / 0.7429 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5836, allocations: 4 kB / 0.7429 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008055/0.5844, allocations: 0.497 MB / 0.7434 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009661/0.5854, allocations: 237.2 kB / 0.7437 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/0.5891, allocations: 2.123 MB / 0.7457 GB, free: 9.488 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.5897, allocations: 1.042 MB / 0.7467 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007776/0.5905, allocations: 250.2 kB / 0.747 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.5907, allocations: 103.4 kB / 0.7471 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.5907, allocations: 0 / 0.7471 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of Templates: time 0.0208/0.6115, allocations: 13.19 MB / 0.76 GB, free: 11.05 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: