Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.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.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, 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.001638/0.001638, allocations: 195.3 kB / 16.14 MB, free: 6.711 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.04/1.04, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 68.34 kB / 0.5047 GB, free: 5.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.184, allocations: 80.93 MB / 0.5837 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.006874/0.1909, allocations: 4.422 MB / 0.588 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5216/0.7125, allocations: 148.3 MB / 0.7329 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008974/0.7134, allocations: 15.09 kB / 0.7329 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008269/0.7143, allocations: 140.7 kB / 0.733 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001834/0.7162, allocations: 406.1 kB / 0.7334 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.7183, allocations: 0.7849 MB / 0.7342 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001739/0.72, allocations: 1.275 MB / 0.7354 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001161/0.7212, allocations: 0.759 MB / 0.7362 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009059/0.7221, allocations: 469.6 kB / 0.7366 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006845/0.7228, allocations: 0.5422 MB / 0.7372 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001594/0.723, allocations: 68.22 kB / 0.7372 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.7241, allocations: 437.2 kB / 0.7376 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.7244, allocations: 275.1 kB / 0.7379 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.7249, allocations: 0.5361 MB / 0.7384 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/0.727, allocations: 1.646 MB / 0.74 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.727, allocations: 0 / 0.74 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.727, allocations: 0 / 0.74 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.273e-05/0.727, allocations: 0 / 0.74 GB, free: 10.02 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: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 0.003194/0.7302, allocations: 1.558 MB / 0.7416 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.7303, allocations: 9.625 kB / 0.7416 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005468/0.7358, allocations: 0.7484 MB / 0.7423 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.7373, allocations: 0.7784 MB / 0.7431 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.218e-05/0.7374, allocations: 75.34 kB / 0.7431 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.7375, allocations: 104.1 kB / 0.7432 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.7407, allocations: 1.363 MB / 0.7446 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.7408, allocations: 4 kB / 0.7446 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.7409, allocations: 46.7 kB / 0.7446 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.7409, allocations: 25.72 kB / 0.7446 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004336/0.7453, allocations: 1.831 MB / 0.7464 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006229/0.7515, allocations: 3.141 MB / 0.7495 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003066/0.7546, allocations: 1.279 MB / 0.7507 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.7561, allocations: 0.564 MB / 0.7513 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006744/0.7568, allocations: 482.6 kB / 0.7517 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001882/0.7587, allocations: 0.7392 MB / 0.7525 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 2.525e-06/0.7587, allocations: 0 / 0.7525 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100): time 0.005849/0.7645, allocations: 1.84 MB / 0.7543 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.7647, allocations: 200.9 kB / 0.7545 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008692/0.7655, allocations: 0.6095 MB / 0.7551 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.7657, allocations: 45.7 kB / 0.7551 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.766, allocations: 412.5 kB / 0.7555 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.7663, allocations: 331.1 kB / 0.7558 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/0.7667, allocations: 190.5 kB / 0.756 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.7669, allocations: 386.8 kB / 0.7564 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.7683, allocations: 485.7 kB / 0.7568 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.7698, allocations: 0.574 MB / 0.7574 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.7727, allocations: 1.027 MB / 0.7584 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.7727, allocations: 7.984 kB / 0.7584 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003865/0.7766, allocations: 1.29 MB / 0.7596 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.7766, allocations: 8.125 kB / 0.7597 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7766, allocations: 0 / 0.7597 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.7773, allocations: 88.72 kB / 0.7597 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.7787, allocations: 255.4 kB / 0.76 GB, free: 8.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.7808, allocations: 1.504 MB / 0.7615 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.7822, allocations: 159.1 kB / 0.7616 GB, free: 6.316 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.7823, allocations: 39.97 kB / 0.7616 GB, free: 6.277 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (112): * Single equations (assignments): 111 * 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.000573/0.7829, allocations: 285.7 kB / 0.7619 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.7831, allocations: 86.97 kB / 0.762 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004505/0.7877, allocations: 1.572 MB / 0.7635 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.555e-05/0.7877, allocations: 12 kB / 0.7635 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7877, allocations: 0 / 0.7635 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.7877, allocations: 7.922 kB / 0.7636 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/0.7939, allocations: 2.715 MB / 0.7662 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.794, allocations: 4 kB / 0.7662 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/0.7953, allocations: 247.7 kB / 0.7664 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/0.7959, allocations: 84.77 kB / 0.7665 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.92e-05/0.796, allocations: 27.98 kB / 0.7665 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.7979, allocations: 1.556 MB / 0.7681 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.7979, allocations: 4 kB / 0.7681 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004021/0.8019, allocations: 1.429 MB / 0.7695 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005129/0.8025, allocations: 299.5 kB / 0.7698 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.8026, allocations: 24 kB / 0.7698 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.8038, allocations: 114.4 kB / 0.7699 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.804, allocations: 76.89 kB / 0.77 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.8041, allocations: 39.97 kB / 0.77 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005821/0.8047, allocations: 443 kB / 0.7704 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8047, allocations: 0 / 0.7704 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001076/0.8058, allocations: 367.1 kB / 0.7708 GB, free: 12.68 MB / 0.5919 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 (113): * Single equations (assignments): 110 * 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.001499/0.8073, allocations: 0.6236 MB / 0.7714 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003689/0.811, allocations: 1.307 MB / 0.7727 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.811, allocations: 0 / 0.7727 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001859/0.8129, allocations: 0.7773 MB / 0.7734 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.8142, allocations: 278.5 kB / 0.7737 GB, free: 9.902 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005151/0.8194, allocations: 2.583 MB / 0.7762 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006605/0.8201, allocations: 1.057 MB / 0.7772 GB, free: 6.215 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001554/0.8216, allocations: 323.1 kB / 0.7775 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004468/0.8221, allocations: 111.4 kB / 0.7777 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of SimCode: time 8.22e-07/0.8221, allocations: 0 / 0.7777 GB, free: 5.789 MB / 0.5919 GB Notification: Performance of Templates: time 0.03105/0.8531, allocations: 16.48 MB / 0.7937 GB, free: 5.477 MB / 0.6075 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient.pipe 2>&1)