Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001218/0.001218, allocations: 198.5 kB / 16.14 MB, free: 6.688 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7434/0.7434, allocations: 132.2 MB / 422.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 72.14 kB / 0.5011 GB, free: 9.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1627, allocations: 80.21 MB / 0.5794 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.006145/0.1689, allocations: 4.504 MB / 0.5838 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4947/0.6636, allocations: 148.3 MB / 0.7286 GB, free: 2.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001218/0.6649, allocations: 21.09 kB / 0.7287 GB, free: 2.969 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008084/0.6658, allocations: 146.7 kB / 0.7288 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001879/0.6677, allocations: 420.9 kB / 0.7292 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.6701, allocations: 0.7183 MB / 0.7299 GB, free: 2.262 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001365/0.6715, allocations: 1.222 MB / 0.7311 GB, free: 1.672 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.6727, allocations: 0.8828 MB / 0.732 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006307/0.6733, allocations: 487.1 kB / 0.7324 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006859/0.674, allocations: 0.539 MB / 0.7329 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000178/0.6742, allocations: 83.81 kB / 0.733 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.6755, allocations: 423.9 kB / 0.7334 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.676, allocations: 288.5 kB / 0.7337 GB, free: 384 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007432/0.6767, allocations: 0.5875 MB / 0.7343 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.679, allocations: 1.743 MB / 0.736 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.679, allocations: 0 / 0.736 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.72e-07/0.679, allocations: 1.094 kB / 0.736 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.454e-05/0.6791, allocations: 0 / 0.736 GB, free: 15.24 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.003084/0.6822, allocations: 1.592 MB / 0.7375 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.6822, allocations: 10.19 kB / 0.7375 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.6833, allocations: 210.5 kB / 0.7377 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.6846, allocations: 0.8088 MB / 0.7385 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.982e-05/0.6847, allocations: 84.2 kB / 0.7386 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.6848, allocations: 109.2 kB / 0.7387 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002245/0.6871, allocations: 1.146 MB / 0.7398 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.6871, allocations: 5.484 kB / 0.7398 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.6873, allocations: 46.69 kB / 0.7399 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.6873, allocations: 27.81 kB / 0.7399 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.6898, allocations: 1.232 MB / 0.7411 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005965/0.6958, allocations: 3.024 MB / 0.7441 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.6974, allocations: 0.7703 MB / 0.7448 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000602/0.698, allocations: 295.4 kB / 0.7451 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.6982, allocations: 35.52 kB / 0.7451 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001026/0.6992, allocations: 444.4 kB / 0.7456 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.374e-06/0.6992, allocations: 0 / 0.7456 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.003352/0.7026, allocations: 1.141 MB / 0.7467 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.7027, allocations: 196.5 kB / 0.7469 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.7039, allocations: 0.6882 MB / 0.7475 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.754e-05/0.704, allocations: 45.7 kB / 0.7476 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004722/0.7045, allocations: 499.6 kB / 0.7481 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002578/0.7047, allocations: 264.2 kB / 0.7483 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.705, allocations: 158.5 kB / 0.7485 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002197/0.7052, allocations: 390.8 kB / 0.7488 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/0.7058, allocations: 261.9 kB / 0.7491 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006271/0.7064, allocations: 351.9 kB / 0.7494 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7075, allocations: 0.5994 MB / 0.75 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7075, allocations: 0 / 0.75 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001964/0.7095, allocations: 0.8447 MB / 0.7508 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.7095, allocations: 4 kB / 0.7508 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.7095, allocations: 4 kB / 0.7508 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006274/0.7102, allocations: 88.84 kB / 0.7509 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/0.7109, allocations: 155.8 kB / 0.7511 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.713, allocations: 1.521 MB / 0.7526 GB, free: 1.449 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.7137, allocations: 87.3 kB / 0.7526 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.7138, allocations: 35.98 kB / 0.7527 GB, free: 1.328 MB / 0.5606 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.0005494/0.7144, allocations: 283.1 kB / 0.7529 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.7145, allocations: 90.94 kB / 0.753 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002307/0.7168, allocations: 1.03 MB / 0.754 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.7169, allocations: 8 kB / 0.754 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.7169, allocations: 0 / 0.754 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.7169, allocations: 3.984 kB / 0.754 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.7181, allocations: 0.9834 MB / 0.755 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7181, allocations: 6.938 kB / 0.755 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.7188, allocations: 147.8 kB / 0.7552 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005071/0.7193, allocations: 84.77 kB / 0.7552 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.7193, allocations: 23.98 kB / 0.7553 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.7211, allocations: 1.54 MB / 0.7568 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7211, allocations: 0 / 0.7568 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.7229, allocations: 0.8925 MB / 0.7576 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.7233, allocations: 267.9 kB / 0.7579 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.7234, allocations: 19.98 kB / 0.7579 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/0.7239, allocations: 63.88 kB / 0.758 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.7241, allocations: 58.42 kB / 0.758 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/0.7241, allocations: 31.97 kB / 0.7581 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005963/0.7247, allocations: 495 kB / 0.7585 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.453e-06/0.7248, allocations: 0 / 0.7585 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000876/0.7256, allocations: 346.8 kB / 0.7589 GB, free: 10.74 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.001345/0.727, allocations: 0.5854 MB / 0.7594 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001574/0.7286, allocations: 0.7992 MB / 0.7602 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.7286, allocations: 3.938 kB / 0.7602 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008793/0.7295, allocations: 0.5009 MB / 0.7607 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.7306, allocations: 276.8 kB / 0.761 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/0.735, allocations: 2.485 MB / 0.7634 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006426/0.7356, allocations: 1.091 MB / 0.7645 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007993/0.7364, allocations: 270.8 kB / 0.7647 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.7367, allocations: 99.39 kB / 0.7648 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.7367, allocations: 0 / 0.7648 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of Templates: time 0.023/0.7597, allocations: 13.94 MB / 0.7784 GB, free: 7.039 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)