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.001341/0.001341, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.454/1.454, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9598/0.9598, allocations: 135.1 MB / 425.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 63.16 kB / 0.5053 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2343, allocations: 80.92 MB / 0.5844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006314/0.2407, allocations: 4.17 MB / 0.5884 GB, free: 396 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5314/0.7721, allocations: 150.5 MB / 0.7355 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008578/0.773, allocations: 20.66 kB / 0.7355 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005866/0.7737, allocations: 164.8 kB / 0.7356 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.7753, allocations: 483.5 kB / 0.7361 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002025/0.7773, allocations: 0.8114 MB / 0.7369 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001468/0.7788, allocations: 1.189 MB / 0.7381 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001022/0.7799, allocations: 0.6837 MB / 0.7387 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006192/0.7805, allocations: 459.6 kB / 0.7392 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005502/0.781, allocations: 483.8 kB / 0.7396 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.7812, allocations: 111.8 kB / 0.7397 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.7822, allocations: 481.8 kB / 0.7402 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002746/0.7825, allocations: 293.9 kB / 0.7405 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005385/0.7831, allocations: 0.5229 MB / 0.741 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.785, allocations: 1.553 MB / 0.7425 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.785, allocations: 0 / 0.7425 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.442e-06/0.785, allocations: 0 / 0.7425 GB, free: 8.219 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.94e-05/0.7851, allocations: 1.375 kB / 0.7425 GB, free: 8.219 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.002483/0.7876, allocations: 1.382 MB / 0.7438 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.7876, allocations: 9.625 kB / 0.7439 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.7888, allocations: 208.9 kB / 0.7441 GB, free: 7.023 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/0.7899, allocations: 0.7227 MB / 0.7448 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.688e-05/0.79, allocations: 66 kB / 0.7448 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.7902, allocations: 89.5 kB / 0.7449 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.7919, allocations: 0.9586 MB / 0.7458 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.7919, allocations: 3.984 kB / 0.7458 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.66e-05/0.792, allocations: 35.72 kB / 0.7459 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/0.792, allocations: 23.5 kB / 0.7459 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.794, allocations: 1.126 MB / 0.747 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004604/0.7986, allocations: 2.557 MB / 0.7495 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.8002, allocations: 0.8199 MB / 0.7503 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005341/0.8007, allocations: 294 kB / 0.7506 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007165/0.8014, allocations: 470.2 kB / 0.751 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009548/0.8024, allocations: 445.4 kB / 0.7515 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=73): time 2.906e-06/0.8024, allocations: 0 / 0.7515 GB, free: 1.371 MB / 0.5606 GB Notification: Performance of matching and sorting (n=73): time 0.003071/0.8055, allocations: 1.092 MB / 0.7525 GB, free: 260 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.8056, allocations: 192.6 kB / 0.7527 GB, free: 24 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008033/0.8064, allocations: 0.6056 MB / 0.7533 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/0.8065, allocations: 41.7 kB / 0.7533 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.8068, allocations: 396.2 kB / 0.7537 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.8071, allocations: 252.4 kB / 0.754 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002208/0.8073, allocations: 150.5 kB / 0.7541 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8075, allocations: 382.7 kB / 0.7545 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004944/0.808, allocations: 245.9 kB / 0.7547 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005909/0.8086, allocations: 335.1 kB / 0.755 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.8097, allocations: 0.5682 MB / 0.7556 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8097, allocations: 0 / 0.7556 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001879/0.8116, allocations: 0.7971 MB / 0.7563 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.8116, allocations: 8.094 kB / 0.7564 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.8116, allocations: 0 / 0.7564 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005874/0.8122, allocations: 80.77 kB / 0.7564 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.8128, allocations: 151.8 kB / 0.7566 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.815, allocations: 1.631 MB / 0.7582 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006917/0.8157, allocations: 81.52 kB / 0.7582 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.8157, allocations: 35.97 kB / 0.7583 GB, free: 10.1 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 (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.0004223/0.8162, allocations: 261.7 kB / 0.7585 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.8163, allocations: 75.06 kB / 0.7586 GB, free: 9.758 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/0.8186, allocations: 0.9984 MB / 0.7596 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.8186, allocations: 8.094 kB / 0.7596 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8186, allocations: 7.984 kB / 0.7596 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.8186, allocations: 11.91 kB / 0.7596 GB, free: 8.73 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003297/0.8219, allocations: 1.89 MB / 0.7615 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.822, allocations: 0 / 0.7615 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/0.8225, allocations: 143.8 kB / 0.7616 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005184/0.8231, allocations: 76.72 kB / 0.7617 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.8231, allocations: 23.98 kB / 0.7617 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002006/0.8252, allocations: 1.662 MB / 0.7633 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.8252, allocations: 0 / 0.7633 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.8271, allocations: 0.918 MB / 0.7642 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.8275, allocations: 263.7 kB / 0.7645 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.8276, allocations: 16 kB / 0.7645 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/0.8282, allocations: 56.78 kB / 0.7645 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.8284, allocations: 59.45 kB / 0.7646 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/0.8284, allocations: 35.97 kB / 0.7646 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006654/0.8291, allocations: 439 kB / 0.765 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8291, allocations: 0 / 0.765 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009351/0.8301, allocations: 311.2 kB / 0.7653 GB, free: 2.629 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.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.001469/0.8315, allocations: 0.6127 MB / 0.7659 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002305/0.8339, allocations: 0.9592 MB / 0.7669 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8339, allocations: 0 / 0.7669 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009968/0.8349, allocations: 0.493 MB / 0.7673 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.8362, allocations: 294.4 kB / 0.7676 GB, free: 496 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.8403, allocations: 1.729 MB / 0.7693 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.841, allocations: 1.023 MB / 0.7703 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008715/0.8419, allocations: 254.1 kB / 0.7706 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002478/0.8421, allocations: 99.38 kB / 0.7707 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.8421, allocations: 0 / 0.7707 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of Templates: time 0.02555/0.8677, allocations: 14.18 MB / 0.7845 GB, free: 15.32 MB / 0.6075 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)