Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 109.2 kB / 16.37 MB, free: 6.477 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.001114/0.001114, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7864/0.7864, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.09 kB / 0.5068 GB, free: 7.699 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.348, allocations: 80.9 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.005683/0.3537, allocations: 6.054 MB / 0.5917 GB, free: 20.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1735/0.5272, allocations: 151.5 MB / 0.7396 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.5286, allocations: 19.94 kB / 0.7396 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007455/0.5294, allocations: 253.4 kB / 0.7398 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002002/0.5315, allocations: 0.6174 MB / 0.7404 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002986/0.5345, allocations: 1.296 MB / 0.7417 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002556/0.537, allocations: 2.411 MB / 0.7441 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.5389, allocations: 1.588 MB / 0.7456 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.5403, allocations: 1.043 MB / 0.7466 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.5416, allocations: 1.194 MB / 0.7478 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003756/0.542, allocations: 296 kB / 0.7481 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.5433, allocations: 0.6792 MB / 0.7487 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005303/0.5438, allocations: 0.6387 MB / 0.7494 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.5449, allocations: 1.17 MB / 0.7505 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3824/0.9273, allocations: 3.283 MB / 0.7537 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.9273, allocations: 0.9688 kB / 0.7537 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.386e-06/0.9273, allocations: 1.969 kB / 0.7537 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.624e-05/0.9274, allocations: 0 / 0.7537 GB, free: 9.367 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.006404/0.9338, allocations: 2.59 MB / 0.7562 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.9339, allocations: 11.84 kB / 0.7563 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01488/0.9488, allocations: 2.089 MB / 0.7583 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.952, allocations: 1.213 MB / 0.7595 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.9521, allocations: 164.9 kB / 0.7596 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006126/0.9528, allocations: 212.8 kB / 0.7598 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009311/0.9621, allocations: 3.156 MB / 0.7629 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.9622, allocations: 5.094 kB / 0.7629 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002924/0.9625, allocations: 90.41 kB / 0.763 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.9626, allocations: 52.44 kB / 0.7631 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/0.9745, allocations: 4.099 MB / 0.7671 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.9886, allocations: 6.929 MB / 0.7738 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007209/0.9959, allocations: 2.693 MB / 0.7765 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003754/0.9997, allocations: 1.429 MB / 0.7779 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000639/1, allocations: 0.506 MB / 0.7783 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004261/1.005, allocations: 1.688 MB / 0.78 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=195): time 3.717e-06/1.005, allocations: 0.9375 kB / 0.78 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of matching and sorting (n=195): time 0.01293/1.018, allocations: 4.195 MB / 0.7841 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.382e-05/1.018, allocations: 206.4 kB / 0.7843 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/1.019, allocations: 0.8643 MB / 0.7851 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002525/1.019, allocations: 58.83 kB / 0.7852 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004375/1.02, allocations: 0.7039 MB / 0.7859 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/1.02, allocations: 0.6391 MB / 0.7865 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006595/1.021, allocations: 366.1 kB / 0.7869 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.978e-05/1.021, allocations: 302.6 kB / 0.7871 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003561/1.024, allocations: 1.188 MB / 0.7883 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003634/1.028, allocations: 1.361 MB / 0.7896 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007039/1.035, allocations: 2.496 MB / 0.7921 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.035, allocations: 0 / 0.7921 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.008641/1.044, allocations: 2.955 MB / 0.795 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/1.044, allocations: 6.188 kB / 0.795 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/1.044, allocations: 0 / 0.795 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/1.044, allocations: 90.3 kB / 0.795 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003528/1.048, allocations: 0.5713 MB / 0.7956 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/1.05, allocations: 1.631 MB / 0.7972 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002884/1.052, allocations: 336.6 kB / 0.7975 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/1.053, allocations: 93.28 kB / 0.7976 GB, free: 1.961 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (215): * Single equations (assignments): 214 * 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.001011/1.054, allocations: 404.1 kB / 0.798 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003995/1.054, allocations: 148.5 kB / 0.7981 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009646/1.064, allocations: 3.48 MB / 0.8015 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/1.064, allocations: 21.97 kB / 0.8016 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/1.064, allocations: 4 kB / 0.8016 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-05/1.064, allocations: 11.95 kB / 0.8016 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01288/1.077, allocations: 5.771 MB / 0.8072 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.077, allocations: 0 / 0.8072 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00331/1.08, allocations: 0.5469 MB / 0.8077 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/1.081, allocations: 75.05 kB / 0.8078 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/1.081, allocations: 66.48 kB / 0.8079 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001774/1.083, allocations: 1.658 MB / 0.8095 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.083, allocations: 0 / 0.8095 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009009/1.092, allocations: 3.056 MB / 0.8125 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.093, allocations: 0.5102 MB / 0.813 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/1.093, allocations: 43.78 kB / 0.813 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002588/1.096, allocations: 247.7 kB / 0.8133 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/1.096, allocations: 133.8 kB / 0.8134 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.096, allocations: 83.92 kB / 0.8135 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008748/1.097, allocations: 0.636 MB / 0.8141 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.097, allocations: 0 / 0.8141 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001642/1.099, allocations: 0.5959 MB / 0.8147 GB, free: 7.316 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 (210): * Single equations (assignments): 207 * 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.001445/1.1, allocations: 0.639 MB / 0.8153 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00892/1.109, allocations: 2.992 MB / 0.8182 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.109, allocations: 0 / 0.8182 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004687/1.114, allocations: 1.666 MB / 0.8198 GB, free: 2.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.115, allocations: 346.1 kB / 0.8202 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009839/1.125, allocations: 3.922 MB / 0.824 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.126, allocations: 1.37 MB / 0.8253 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003308/1.13, allocations: 0.5537 MB / 0.8259 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.131, allocations: 223.2 kB / 0.8261 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of SimCode: time 1.102e-06/1.131, allocations: 0 / 0.8261 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of Templates: time 0.04408/1.175, allocations: 27.92 MB / 0.8533 GB, free: 220 kB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)