Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009389/0.0009388, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009629/0.0009629, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7166/0.7166, allocations: 132.4 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002778/0.0002778, allocations: 8 kB / 0.5034 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.335, allocations: 81.58 MB / 0.5831 GB, free: 3.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.003508/0.3386, allocations: 3.535 MB / 0.5865 GB, free: 1.441 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1377/0.4763, allocations: 136.6 MB / 0.72 GB, free: 3.988 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005797/0.4769, allocations: 15.94 kB / 0.72 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004778/0.4774, allocations: 127 kB / 0.7201 GB, free: 3.848 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.4787, allocations: 393.1 kB / 0.7205 GB, free: 3.465 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001678/0.4804, allocations: 0.5941 MB / 0.7211 GB, free: 2.883 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.4814, allocations: 1.008 MB / 0.7221 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006436/0.4821, allocations: 463 kB / 0.7225 GB, free: 1.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.4825, allocations: 282.7 kB / 0.7228 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.4829, allocations: 310.3 kB / 0.7231 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.704e-05/0.483, allocations: 20 kB / 0.7231 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000625/0.4837, allocations: 335.6 kB / 0.7234 GB, free: 496 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/0.4839, allocations: 159.3 kB / 0.7236 GB, free: 336 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.484, allocations: 181.1 kB / 0.7237 GB, free: 148 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009952/0.485, allocations: 1.056 MB / 0.7248 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.485, allocations: 0 / 0.7248 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.824e-06/0.485, allocations: 3.938 kB / 0.7248 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.4851, allocations: 0 / 0.7248 GB, free: 15.08 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001726/0.4868, allocations: 1.128 MB / 0.7259 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.869e-05/0.4868, allocations: 8.031 kB / 0.7259 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007885/0.4876, allocations: 190.5 kB / 0.7261 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.4885, allocations: 0.6796 MB / 0.7267 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.4886, allocations: 62 kB / 0.7268 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.453e-05/0.4887, allocations: 72 kB / 0.7268 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.49, allocations: 0.8481 MB / 0.7277 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.49, allocations: 3.984 kB / 0.7277 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.4901, allocations: 36 kB / 0.7277 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.4901, allocations: 23.95 kB / 0.7277 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001551/0.4917, allocations: 1.057 MB / 0.7288 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003281/0.495, allocations: 2.372 MB / 0.7311 GB, free: 8.402 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.4962, allocations: 0.7071 MB / 0.7318 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.4966, allocations: 270.4 kB / 0.732 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.613e-05/0.4967, allocations: 40.66 kB / 0.7321 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000661/0.4974, allocations: 415.2 kB / 0.7325 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=71): time 1.754e-06/0.4974, allocations: 0 / 0.7325 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71): time 0.002536/0.4999, allocations: 1.069 MB / 0.7335 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.5, allocations: 192.6 kB / 0.7337 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.5006, allocations: 0.5822 MB / 0.7343 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.5007, allocations: 37.7 kB / 0.7343 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.5009, allocations: 376.2 kB / 0.7347 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.5011, allocations: 236.5 kB / 0.7349 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.5012, allocations: 16 kB / 0.7349 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5013, allocations: 382.7 kB / 0.7353 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004413/0.5017, allocations: 233.9 kB / 0.7355 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005057/0.5023, allocations: 330.7 kB / 0.7358 GB, free: 3.434 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.5028, allocations: 275.1 kB / 0.7361 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.5028, allocations: 0 / 0.7361 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00166/0.5044, allocations: 0.7666 MB / 0.7368 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.5045, allocations: 8.094 kB / 0.7368 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.5045, allocations: 4 kB / 0.7368 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005183/0.505, allocations: 88.7 kB / 0.7369 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.5056, allocations: 147.8 kB / 0.737 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001732/0.5073, allocations: 1.512 MB / 0.7385 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005268/0.5079, allocations: 84.86 kB / 0.7386 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-05/0.5079, allocations: 35.97 kB / 0.7386 GB, free: 384 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003138/0.5083, allocations: 250.3 kB / 0.7389 GB, free: 124 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.743e-05/0.5084, allocations: 79.14 kB / 0.739 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.5104, allocations: 0.9705 MB / 0.7399 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.577e-06/0.5104, allocations: 8 kB / 0.7399 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5104, allocations: 4 kB / 0.7399 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.5104, allocations: 3.984 kB / 0.7399 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008015/0.5112, allocations: 0.8138 MB / 0.7407 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5112, allocations: 0 / 0.7407 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005324/0.5118, allocations: 139.8 kB / 0.7408 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004455/0.5122, allocations: 84.77 kB / 0.7409 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.5123, allocations: 23.98 kB / 0.7409 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.5138, allocations: 1.552 MB / 0.7425 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5139, allocations: 0 / 0.7425 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.5154, allocations: 0.8304 MB / 0.7433 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002842/0.5157, allocations: 263.8 kB / 0.7435 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.5158, allocations: 23.94 kB / 0.7435 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004789/0.5163, allocations: 64.83 kB / 0.7436 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5164, allocations: 56.91 kB / 0.7437 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/0.5164, allocations: 35.92 kB / 0.7437 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004462/0.5169, allocations: 419 kB / 0.7441 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5169, allocations: 0 / 0.7441 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006599/0.5176, allocations: 287.3 kB / 0.7444 GB, free: 10.25 MB / 0.5762 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001163/0.5187, allocations: 0.5831 MB / 0.7449 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.52, allocations: 0.7472 MB / 0.7457 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5201, allocations: 8.172 kB / 0.7457 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007461/0.5208, allocations: 480.3 kB / 0.7461 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/0.5218, allocations: 245.8 kB / 0.7464 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/0.525, allocations: 2.002 MB / 0.7483 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.5255, allocations: 0.9982 MB / 0.7493 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000723/0.5263, allocations: 253.3 kB / 0.7495 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.5265, allocations: 95.33 kB / 0.7496 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of SimCode: time 4.31e-07/0.5265, allocations: 0 / 0.7496 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of Templates: time 0.01883/0.5453, allocations: 12.58 MB / 0.7619 GB, free: 8.613 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)