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.00724/0.00724, allocations: 100.4 kB / 15.73 MB, free: 5.988 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.001536/0.001536, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9982/0.9982, allocations: 135.1 MB / 425.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 0.5856 GB, free: 3.371 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5771/0.5784, allocations: 80.9 MB / 0.6646 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007177/0.5856, allocations: 4.416 MB / 0.669 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2016/0.7873, allocations: 150.7 MB / 0.8161 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.7887, allocations: 19.88 kB / 0.8161 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.7894, allocations: 186.3 kB / 0.8163 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002006/0.7915, allocations: 491.5 kB / 0.8167 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.7941, allocations: 0.9027 MB / 0.8176 GB, free: 4.41 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001817/0.7959, allocations: 1.372 MB / 0.819 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.7971, allocations: 0.7933 MB / 0.8197 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000851/0.798, allocations: 0.5333 MB / 0.8203 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006744/0.7986, allocations: 0.5795 MB / 0.8208 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.7988, allocations: 128 kB / 0.821 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.8, allocations: 0.5074 MB / 0.8214 GB, free: 468 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.8004, allocations: 331 kB / 0.8218 GB, free: 136 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005481/0.8009, allocations: 0.5985 MB / 0.8223 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.8033, allocations: 1.742 MB / 0.824 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8033, allocations: 4 kB / 0.8241 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.415e-06/0.8033, allocations: 0 / 0.8241 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.103e-05/0.8033, allocations: 0 / 0.8241 GB, free: 13.78 MB / 0.6544 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.002955/0.8063, allocations: 1.553 MB / 0.8256 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.658e-05/0.8064, allocations: 8.031 kB / 0.8256 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005184/0.8115, allocations: 0.7562 MB / 0.8263 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.8131, allocations: 0.7929 MB / 0.8271 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.056e-05/0.8132, allocations: 74.09 kB / 0.8272 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.8134, allocations: 104 kB / 0.8273 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.8166, allocations: 1.371 MB / 0.8286 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.8166, allocations: 0 / 0.8286 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.8168, allocations: 44 kB / 0.8286 GB, free: 8.914 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.8168, allocations: 31.98 kB / 0.8287 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004494/0.8213, allocations: 1.834 MB / 0.8305 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005979/0.8273, allocations: 3.08 MB / 0.8335 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/0.8305, allocations: 1.276 MB / 0.8347 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001458/0.832, allocations: 0.5706 MB / 0.8353 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007002/0.8327, allocations: 486.6 kB / 0.8357 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.8345, allocations: 0.7309 MB / 0.8364 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=100): time 2.455e-06/0.8345, allocations: 0 / 0.8364 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of matching and sorting (n=100): time 0.005956/0.8405, allocations: 1.848 MB / 0.8383 GB, free: 14.82 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.8406, allocations: 192.9 kB / 0.8384 GB, free: 14.59 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008764/0.8415, allocations: 0.6134 MB / 0.839 GB, free: 13.97 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.8416, allocations: 45.7 kB / 0.8391 GB, free: 13.92 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.842, allocations: 416.4 kB / 0.8395 GB, free: 13.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.8423, allocations: 327.2 kB / 0.8398 GB, free: 13.18 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003257/0.8426, allocations: 194.4 kB / 0.84 GB, free: 12.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001792/0.8428, allocations: 386.8 kB / 0.8403 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.8442, allocations: 481.7 kB / 0.8408 GB, free: 12.12 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001498/0.8457, allocations: 0.574 MB / 0.8414 GB, free: 11.54 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.8485, allocations: 1.023 MB / 0.8424 GB, free: 10.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.8486, allocations: 0 / 0.8424 GB, free: 10.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003883/0.8524, allocations: 1.301 MB / 0.8436 GB, free: 9.184 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.8525, allocations: 8 kB / 0.8436 GB, free: 9.176 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.8525, allocations: 0 / 0.8436 GB, free: 9.176 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005803/0.8531, allocations: 80.91 kB / 0.8437 GB, free: 9.094 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/0.8545, allocations: 259.6 kB / 0.844 GB, free: 8.84 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002135/0.8566, allocations: 1.626 MB / 0.8456 GB, free: 7.066 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.8579, allocations: 153.4 kB / 0.8457 GB, free: 6.918 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.553e-05/0.858, allocations: 55.89 kB / 0.8458 GB, free: 6.863 MB / 0.67 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.0005898/0.8586, allocations: 279.3 kB / 0.846 GB, free: 6.582 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.8588, allocations: 82.97 kB / 0.8461 GB, free: 6.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004315/0.8632, allocations: 1.577 MB / 0.8476 GB, free: 4.91 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.8632, allocations: 12 kB / 0.8477 GB, free: 4.898 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.8632, allocations: 0 / 0.8477 GB, free: 4.898 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.8632, allocations: 7.969 kB / 0.8477 GB, free: 4.891 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00586/0.8691, allocations: 2.718 MB / 0.8503 GB, free: 2.105 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.8691, allocations: 0 / 0.8503 GB, free: 2.105 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.8704, allocations: 243.6 kB / 0.8505 GB, free: 1.867 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.8709, allocations: 76.78 kB / 0.8506 GB, free: 1.789 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.174e-05/0.8709, allocations: 39.84 kB / 0.8507 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001882/0.8728, allocations: 1.654 MB / 0.8523 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.8729, allocations: 0 / 0.8523 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00388/0.8767, allocations: 1.439 MB / 0.8537 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004999/0.8773, allocations: 295.6 kB / 0.854 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.8774, allocations: 24 kB / 0.854 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.8786, allocations: 115.8 kB / 0.8541 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001763/0.8787, allocations: 72.89 kB / 0.8542 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.084e-05/0.8788, allocations: 43.97 kB / 0.8542 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005796/0.8794, allocations: 443 kB / 0.8546 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8794, allocations: 0 / 0.8546 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001082/0.8805, allocations: 363 kB / 0.855 GB, free: 13.15 MB / 0.6856 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.001492/0.882, allocations: 0.6186 MB / 0.8556 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003724/0.8858, allocations: 1.312 MB / 0.8569 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.8858, allocations: 0 / 0.8569 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/0.8877, allocations: 0.7772 MB / 0.8576 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.8891, allocations: 305.3 kB / 0.8579 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005014/0.8941, allocations: 2.088 MB / 0.8599 GB, free: 8.203 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006189/0.8948, allocations: 1.056 MB / 0.861 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001232/0.896, allocations: 327.2 kB / 0.8613 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004136/0.8964, allocations: 119.4 kB / 0.8614 GB, free: 6.676 MB / 0.6856 GB Notification: Performance of SimCode: time 1.433e-06/0.8965, allocations: 4 kB / 0.8614 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of Templates: time 0.4399/1.336, allocations: 17.31 MB / 0.8783 GB, free: 187.2 MB / 0.6856 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)