Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001888/0.001888, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002148/0.002149, allocations: 196.2 kB / 16.26 MB, free: 6.629 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9899/0.9899, allocations: 135.2 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 67.73 kB / 0.5049 GB, free: 5.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.179, allocations: 80.94 MB / 0.5839 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006859/0.1859, allocations: 4.503 MB / 0.5883 GB, free: 324 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4456/0.6315, allocations: 148.4 MB / 0.7332 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008627/0.6324, allocations: 20.75 kB / 0.7333 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006382/0.6331, allocations: 141.1 kB / 0.7334 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.6348, allocations: 434 kB / 0.7338 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.6369, allocations: 0.7374 MB / 0.7345 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.6384, allocations: 1.31 MB / 0.7358 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.6397, allocations: 0.9178 MB / 0.7367 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000757/0.6405, allocations: 0.5331 MB / 0.7372 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006066/0.6411, allocations: 0.5722 MB / 0.7378 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.6413, allocations: 142.5 kB / 0.7379 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008603/0.6421, allocations: 480 kB / 0.7384 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.6424, allocations: 348.1 kB / 0.7387 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005754/0.643, allocations: 0.6502 MB / 0.7393 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.645, allocations: 1.786 MB / 0.7411 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.645, allocations: 0 / 0.7411 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.813e-06/0.645, allocations: 0 / 0.7411 GB, free: 9.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.03e-05/0.6451, allocations: 1.375 kB / 0.7411 GB, free: 9.34 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.002661/0.6477, allocations: 1.59 MB / 0.7426 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.6478, allocations: 11.27 kB / 0.7427 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.6487, allocations: 215.3 kB / 0.7429 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.6499, allocations: 0.8121 MB / 0.7437 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.795e-05/0.65, allocations: 84.98 kB / 0.7437 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.6501, allocations: 114 kB / 0.7438 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.652, allocations: 1.135 MB / 0.745 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.573e-05/0.6521, allocations: 0 / 0.745 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.6522, allocations: 50.75 kB / 0.745 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.303e-05/0.6522, allocations: 28.84 kB / 0.745 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.6541, allocations: 1.235 MB / 0.7462 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004638/0.6588, allocations: 3.018 MB / 0.7492 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.6602, allocations: 0.7726 MB / 0.7499 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005307/0.6608, allocations: 290.7 kB / 0.7502 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.342e-05/0.6609, allocations: 28.61 kB / 0.7502 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009497/0.6618, allocations: 456.5 kB / 0.7507 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 4.108e-06/0.6618, allocations: 3.984 kB / 0.7507 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.003221/0.6651, allocations: 1.147 MB / 0.7518 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.6652, allocations: 188.6 kB / 0.752 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009853/0.6662, allocations: 0.6882 MB / 0.7526 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.951e-05/0.6663, allocations: 37.7 kB / 0.7527 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.6668, allocations: 0.4957 MB / 0.7532 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002535/0.667, allocations: 256.2 kB / 0.7534 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.6673, allocations: 166.5 kB / 0.7536 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002194/0.6675, allocations: 390.8 kB / 0.7539 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/0.6681, allocations: 257.4 kB / 0.7542 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006465/0.6687, allocations: 355.1 kB / 0.7545 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.6699, allocations: 0.5994 MB / 0.7551 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.6699, allocations: 0 / 0.7551 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002138/0.672, allocations: 0.8414 MB / 0.7559 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.6721, allocations: 6.188 kB / 0.7559 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.6721, allocations: 8.094 kB / 0.756 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006445/0.6728, allocations: 80.75 kB / 0.756 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006912/0.6735, allocations: 163.8 kB / 0.7562 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00234/0.6758, allocations: 1.63 MB / 0.7578 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/0.6766, allocations: 87.3 kB / 0.7579 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/0.6767, allocations: 35.97 kB / 0.7579 GB, free: 10.28 MB / 0.5762 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 (92): * Single equations (assignments): 91 * 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.0005704/0.6773, allocations: 277.7 kB / 0.7582 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001767/0.6774, allocations: 99.06 kB / 0.7583 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.6799, allocations: 1.027 MB / 0.7593 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.6799, allocations: 8 kB / 0.7593 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.68, allocations: 4 kB / 0.7593 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.68, allocations: 7.969 kB / 0.7593 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.6812, allocations: 0.9763 MB / 0.7602 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.6813, allocations: 0 / 0.7602 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006255/0.6819, allocations: 151.8 kB / 0.7604 GB, free: 7.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004698/0.6824, allocations: 72.78 kB / 0.7604 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.6824, allocations: 16 kB / 0.7605 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.6847, allocations: 1.666 MB / 0.7621 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6847, allocations: 0 / 0.7621 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.6867, allocations: 0.8887 MB / 0.763 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003748/0.6871, allocations: 271.7 kB / 0.7632 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001188/0.6872, allocations: 20 kB / 0.7632 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005597/0.6878, allocations: 55.94 kB / 0.7633 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.6879, allocations: 56.92 kB / 0.7633 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/0.688, allocations: 35.97 kB / 0.7634 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006654/0.6887, allocations: 495 kB / 0.7638 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6887, allocations: 0 / 0.7638 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009596/0.6896, allocations: 346.8 kB / 0.7642 GB, free: 3.582 MB / 0.5762 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * 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.001902/0.6916, allocations: 0.5999 MB / 0.7648 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002717/0.6943, allocations: 0.9946 MB / 0.7657 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.6943, allocations: 4 kB / 0.7657 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.6954, allocations: 0.5012 MB / 0.7662 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.697, allocations: 299.6 kB / 0.7665 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.7019, allocations: 2.481 MB / 0.7689 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00074/0.7026, allocations: 1.078 MB / 0.77 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009591/0.7036, allocations: 278.8 kB / 0.7703 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/0.7039, allocations: 103.4 kB / 0.7704 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of SimCode: time 8.81e-07/0.7039, allocations: 0 / 0.7704 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of Templates: time 0.02798/0.7319, allocations: 14.45 MB / 0.7845 GB, free: 15.13 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)