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.001835/0.001835, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002034/0.002034, allocations: 189.7 kB / 16.25 MB, free: 6.637 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.517/1.517, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9908/0.9908, allocations: 135.1 MB / 425.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.72 kB / 0.5049 GB, free: 5.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.171, allocations: 80.93 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.005918/0.1769, allocations: 4.411 MB / 0.5882 GB, free: 472 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4856/0.6626, allocations: 148.4 MB / 0.7332 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.6637, allocations: 15.84 kB / 0.7332 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007536/0.6645, allocations: 144 kB / 0.7333 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001945/0.6665, allocations: 428.1 kB / 0.7337 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.6689, allocations: 0.8013 MB / 0.7345 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001936/0.6709, allocations: 1.363 MB / 0.7358 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.6721, allocations: 0.7809 MB / 0.7366 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008719/0.673, allocations: 0.5251 MB / 0.7371 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006582/0.6736, allocations: 0.5758 MB / 0.7377 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.6738, allocations: 131.8 kB / 0.7378 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.6748, allocations: 0.4935 MB / 0.7383 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000319/0.6752, allocations: 327.5 kB / 0.7386 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.6757, allocations: 0.6009 MB / 0.7392 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002272/0.678, allocations: 1.698 MB / 0.7408 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.678, allocations: 0 / 0.7408 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6781, allocations: 1.312 kB / 0.7408 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.302e-05/0.6781, allocations: 0 / 0.7408 GB, free: 9.695 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.003306/0.6814, allocations: 1.561 MB / 0.7424 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.6815, allocations: 9.906 kB / 0.7424 GB, free: 8.684 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005408/0.6869, allocations: 0.7502 MB / 0.7431 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.6881, allocations: 0.7719 MB / 0.7439 GB, free: 7.727 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.592e-05/0.6882, allocations: 80 kB / 0.7439 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001436/0.6883, allocations: 104.2 kB / 0.744 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003279/0.6916, allocations: 1.36 MB / 0.7454 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.6916, allocations: 0 / 0.7454 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.6918, allocations: 48.72 kB / 0.7454 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.6918, allocations: 23.97 kB / 0.7454 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004621/0.6964, allocations: 1.837 MB / 0.7472 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006652/0.7031, allocations: 3.137 MB / 0.7503 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003248/0.7064, allocations: 1.275 MB / 0.7515 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.7079, allocations: 0.5735 MB / 0.7521 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007247/0.7086, allocations: 478.6 kB / 0.7525 GB, free: 28 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001931/0.7106, allocations: 0.7347 MB / 0.7533 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=100): time 2.876e-06/0.7106, allocations: 0 / 0.7533 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=100): time 0.006102/0.7167, allocations: 1.848 MB / 0.7551 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.7168, allocations: 196.3 kB / 0.7553 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008835/0.7177, allocations: 0.6134 MB / 0.7559 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.7178, allocations: 41.7 kB / 0.7559 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000396/0.7182, allocations: 412.5 kB / 0.7563 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.7186, allocations: 335.1 kB / 0.7566 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.7189, allocations: 190.5 kB / 0.7568 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.7191, allocations: 386.8 kB / 0.7572 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.7205, allocations: 481.7 kB / 0.7576 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001507/0.7221, allocations: 0.574 MB / 0.7582 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.7248, allocations: 1.023 MB / 0.7592 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7249, allocations: 0 / 0.7592 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003904/0.7288, allocations: 1.301 MB / 0.7604 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.7288, allocations: 10.5 kB / 0.7605 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.7288, allocations: 0 / 0.7605 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006499/0.7295, allocations: 76.91 kB / 0.7605 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.7309, allocations: 255.6 kB / 0.7608 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.7331, allocations: 1.632 MB / 0.7624 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.7346, allocations: 155 kB / 0.7625 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.7347, allocations: 47.95 kB / 0.7626 GB, free: 5.461 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.000608/0.7353, allocations: 269.6 kB / 0.7628 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.7355, allocations: 82.97 kB / 0.7629 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.7399, allocations: 1.583 MB / 0.7644 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.74, allocations: 12 kB / 0.7645 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.74, allocations: 3.938 kB / 0.7645 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.74, allocations: 3.984 kB / 0.7645 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006292/0.7463, allocations: 2.726 MB / 0.7671 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7463, allocations: 4 kB / 0.7671 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.7477, allocations: 243.7 kB / 0.7674 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004842/0.7482, allocations: 72.78 kB / 0.7674 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001141/0.7483, allocations: 33.47 kB / 0.7675 GB, free: 372 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/0.7505, allocations: 1.659 MB / 0.7691 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7505, allocations: 0.7812 kB / 0.7691 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004182/0.7547, allocations: 1.429 MB / 0.7705 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005989/0.7553, allocations: 303.7 kB / 0.7708 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002536/0.7555, allocations: 24.81 kB / 0.7708 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.7568, allocations: 111.9 kB / 0.7709 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.757, allocations: 80.83 kB / 0.771 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.7571, allocations: 39.97 kB / 0.771 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006819/0.7578, allocations: 443 kB / 0.7714 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7578, allocations: 3.938 kB / 0.7714 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001247/0.7591, allocations: 371 kB / 0.7718 GB, free: 11.74 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.001721/0.7608, allocations: 0.6181 MB / 0.7724 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004816/0.7657, allocations: 1.553 MB / 0.7739 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/0.7657, allocations: 3.984 kB / 0.7739 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.7676, allocations: 0.7735 MB / 0.7747 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00153/0.7692, allocations: 292.2 kB / 0.775 GB, free: 8.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00569/0.7749, allocations: 2.587 MB / 0.7775 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008077/0.7757, allocations: 1.06 MB / 0.7785 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001545/0.7773, allocations: 327.1 kB / 0.7788 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/0.7777, allocations: 127.3 kB / 0.7789 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.7778, allocations: 0 / 0.7789 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.03098/0.8087, allocations: 17.06 MB / 0.7956 GB, free: 3.68 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)