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.007533/0.007533, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001372/0.001372, allocations: 195.9 kB / 16.67 MB, free: 5.52 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8637/0.8637, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.45 kB / 0.5856 GB, free: 21.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1747, allocations: 80.93 MB / 0.6646 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.BrighteningCoefficient): time 0.007584/0.1823, allocations: 4.41 MB / 0.6689 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6017/0.7841, allocations: 150.7 MB / 0.8161 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001175/0.7853, allocations: 16.31 kB / 0.8161 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006374/0.786, allocations: 180 kB / 0.8163 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001716/0.7878, allocations: 491 kB / 0.8167 GB, free: 7.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002345/0.7902, allocations: 0.906 MB / 0.8176 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001654/0.7918, allocations: 1.367 MB / 0.819 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.7929, allocations: 0.7893 MB / 0.8197 GB, free: 6.863 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007382/0.7936, allocations: 0.5185 MB / 0.8202 GB, free: 6.699 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005786/0.7942, allocations: 0.5842 MB / 0.8208 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.7944, allocations: 134.6 kB / 0.8209 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000987/0.7953, allocations: 0.5075 MB / 0.8214 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.7957, allocations: 330.8 kB / 0.8217 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005021/0.7962, allocations: 0.6049 MB / 0.8223 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.7981, allocations: 1.751 MB / 0.824 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7982, allocations: 0 / 0.824 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7982, allocations: 0 / 0.824 GB, free: 4.242 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.652e-05/0.7982, allocations: 0 / 0.824 GB, free: 4.242 MB / 0.5919 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.002729/0.8009, allocations: 1.551 MB / 0.8256 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.801, allocations: 11.08 kB / 0.8256 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/0.8057, allocations: 0.7518 MB / 0.8263 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.8071, allocations: 0.7914 MB / 0.8271 GB, free: 2.066 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.8071, allocations: 76.62 kB / 0.8271 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.8073, allocations: 107.7 kB / 0.8273 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.8103, allocations: 1.361 MB / 0.8286 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.8104, allocations: 2.188 kB / 0.8286 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.8105, allocations: 46.44 kB / 0.8286 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/0.8105, allocations: 24.75 kB / 0.8287 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004191/0.8147, allocations: 1.841 MB / 0.8304 GB, free: 240 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005719/0.8205, allocations: 3.09 MB / 0.8335 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.8233, allocations: 1.276 MB / 0.8347 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.8246, allocations: 0.5728 MB / 0.8353 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006764/0.8253, allocations: 479.6 kB / 0.8357 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.8269, allocations: 0.7295 MB / 0.8364 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=100): time 3.076e-06/0.827, allocations: 6.219 kB / 0.8364 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=100): time 0.005382/0.8323, allocations: 1.85 MB / 0.8383 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.8325, allocations: 191.1 kB / 0.8384 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/0.8333, allocations: 0.6121 MB / 0.839 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.914e-05/0.8334, allocations: 43.77 kB / 0.8391 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.8337, allocations: 420.6 kB / 0.8395 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.834, allocations: 329.1 kB / 0.8398 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.8343, allocations: 194.5 kB / 0.84 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.8345, allocations: 387.2 kB / 0.8403 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.8358, allocations: 476.2 kB / 0.8408 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.8372, allocations: 0.5717 MB / 0.8414 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002594/0.8398, allocations: 1.026 MB / 0.8424 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.8398, allocations: 0 / 0.8424 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003616/0.8434, allocations: 1.297 MB / 0.8436 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.8434, allocations: 7.984 kB / 0.8436 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.8434, allocations: 3.938 kB / 0.8436 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005759/0.844, allocations: 84.91 kB / 0.8437 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.8453, allocations: 257.9 kB / 0.844 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001912/0.8472, allocations: 1.632 MB / 0.8456 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.8484, allocations: 147.7 kB / 0.8457 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.8485, allocations: 43.97 kB / 0.8457 GB, free: 5.008 MB / 0.6075 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.0004797/0.849, allocations: 273.7 kB / 0.846 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.8491, allocations: 86.91 kB / 0.8461 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004172/0.8533, allocations: 1.576 MB / 0.8476 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.8533, allocations: 12 kB / 0.8476 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.8533, allocations: 0 / 0.8476 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.8534, allocations: 3.984 kB / 0.8476 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005843/0.8592, allocations: 2.734 MB / 0.8503 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8592, allocations: 0 / 0.8503 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.8605, allocations: 243.7 kB / 0.8505 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004395/0.8609, allocations: 76.78 kB / 0.8506 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.861, allocations: 35.97 kB / 0.8506 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.8629, allocations: 1.654 MB / 0.8523 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8629, allocations: 0 / 0.8523 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/0.8667, allocations: 1.435 MB / 0.8537 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004789/0.8672, allocations: 299.2 kB / 0.854 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.8674, allocations: 24 kB / 0.854 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.8684, allocations: 111.9 kB / 0.8541 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.8686, allocations: 76.83 kB / 0.8542 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/0.8687, allocations: 43.97 kB / 0.8542 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0007239/0.8695, allocations: 439 kB / 0.8546 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6.21e-07/0.8695, allocations: 0 / 0.8546 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001219/0.8707, allocations: 371 kB / 0.855 GB, free: 11.29 MB / 0.6231 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.001581/0.8723, allocations: 0.6211 MB / 0.8556 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003508/0.8758, allocations: 1.312 MB / 0.8569 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8758, allocations: 0 / 0.8569 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/0.8778, allocations: 0.7811 MB / 0.8576 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.8792, allocations: 291.2 kB / 0.8579 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005121/0.8843, allocations: 2.081 MB / 0.8599 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007632/0.8851, allocations: 1.06 MB / 0.861 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001212/0.8863, allocations: 323.2 kB / 0.8613 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.8868, allocations: 115.4 kB / 0.8614 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of SimCode: time 2.685e-06/0.8868, allocations: 0 / 0.8614 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of Templates: time 0.02938/0.9162, allocations: 17.34 MB / 0.8783 GB, free: 3.641 MB / 0.6387 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)