Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.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-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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007914/0.007915, allocations: 104.2 kB / 15.73 MB, free: 6.043 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.001509/0.001509, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 0.5856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4809/0.4823, allocations: 80.91 MB / 0.6646 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.004926/0.4873, allocations: 4.503 MB / 0.669 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1624/0.6497, allocations: 150.6 MB / 0.8161 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.6508, allocations: 19.88 kB / 0.8161 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000926/0.6518, allocations: 190.2 kB / 0.8163 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.654, allocations: 0.4896 MB / 0.8168 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.6564, allocations: 0.8306 MB / 0.8176 GB, free: 4.426 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00217/0.6586, allocations: 1.32 MB / 0.8189 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001546/0.6602, allocations: 0.927 MB / 0.8198 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009447/0.6611, allocations: 0.5371 MB / 0.8203 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009449/0.6621, allocations: 0.5755 MB / 0.8209 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003902/0.6625, allocations: 140 kB / 0.821 GB, free: 0.8828 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.6638, allocations: 0.5035 MB / 0.8215 GB, free: 388 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.6642, allocations: 346.9 kB / 0.8218 GB, free: 40 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007877/0.665, allocations: 0.6373 MB / 0.8225 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.6677, allocations: 1.843 MB / 0.8243 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.6677, allocations: 0 / 0.8243 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6677, allocations: 0 / 0.8243 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.251e-05/0.6678, allocations: 3.938 kB / 0.8243 GB, free: 13.55 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.003021/0.6708, allocations: 1.58 MB / 0.8258 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.6708, allocations: 8.031 kB / 0.8258 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009624/0.6718, allocations: 215.1 kB / 0.826 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001307/0.6731, allocations: 0.8404 MB / 0.8268 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.76e-05/0.6732, allocations: 82.3 kB / 0.8269 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.6733, allocations: 112 kB / 0.827 GB, free: 10.62 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.6751, allocations: 1.13 MB / 0.8281 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.6752, allocations: 0 / 0.8281 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/0.6753, allocations: 52 kB / 0.8282 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.284e-05/0.6753, allocations: 28 kB / 0.8282 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.6773, allocations: 1.234 MB / 0.8294 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004333/0.6816, allocations: 2.965 MB / 0.8323 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/0.683, allocations: 0.7785 MB / 0.8331 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.6835, allocations: 294.6 kB / 0.8333 GB, free: 3.984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001416/0.6837, allocations: 28.67 kB / 0.8334 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007538/0.6844, allocations: 459.1 kB / 0.8338 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=78): time 2.345e-06/0.6844, allocations: 0 / 0.8338 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of matching and sorting (n=78): time 0.002841/0.6873, allocations: 1.139 MB / 0.8349 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.6874, allocations: 192.6 kB / 0.8351 GB, free: 2.098 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008638/0.6883, allocations: 0.6881 MB / 0.8358 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.32e-05/0.6884, allocations: 37.7 kB / 0.8358 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.6888, allocations: 0.4958 MB / 0.8363 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.689, allocations: 260.2 kB / 0.8365 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.6892, allocations: 158.5 kB / 0.8367 GB, free: 448 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.6894, allocations: 398.7 kB / 0.8371 GB, free: 40 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005104/0.69, allocations: 257.9 kB / 0.8373 GB, free: 15.79 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005828/0.6906, allocations: 351.1 kB / 0.8377 GB, free: 15.43 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.6917, allocations: 0.6033 MB / 0.8382 GB, free: 14.82 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.6917, allocations: 0 / 0.8382 GB, free: 14.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001893/0.6936, allocations: 0.8409 MB / 0.8391 GB, free: 13.96 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6936, allocations: 4 kB / 0.8391 GB, free: 13.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.6936, allocations: 7.984 kB / 0.8391 GB, free: 13.95 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005785/0.6942, allocations: 72.88 kB / 0.8391 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.6949, allocations: 159.8 kB / 0.8393 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.697, allocations: 1.641 MB / 0.8409 GB, free: 11.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/0.6976, allocations: 87.22 kB / 0.841 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.6977, allocations: 44.03 kB / 0.841 GB, free: 11.81 MB / 0.67 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 (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 (92): * Single equations (assignments): 91 * 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.0004732/0.6982, allocations: 275.2 kB / 0.8413 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.6984, allocations: 87.2 kB / 0.8414 GB, free: 11.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.7005, allocations: 1.035 MB / 0.8424 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.7006, allocations: 8 kB / 0.8424 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.7006, allocations: 4 kB / 0.8424 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.7006, allocations: 3.984 kB / 0.8424 GB, free: 10.39 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.7017, allocations: 0.9778 MB / 0.8434 GB, free: 9.359 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.7017, allocations: 0 / 0.8434 GB, free: 9.359 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.7023, allocations: 155.8 kB / 0.8435 GB, free: 9.207 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004167/0.7027, allocations: 68.78 kB / 0.8436 GB, free: 9.137 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.685e-05/0.7028, allocations: 27.98 kB / 0.8436 GB, free: 9.109 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.7046, allocations: 1.654 MB / 0.8452 GB, free: 7.309 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.7046, allocations: 3.984 kB / 0.8452 GB, free: 7.305 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001736/0.7064, allocations: 0.8849 MB / 0.8461 GB, free: 6.398 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.7067, allocations: 271.7 kB / 0.8463 GB, free: 6.113 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.856e-05/0.7068, allocations: 19.91 kB / 0.8464 GB, free: 6.094 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.7073, allocations: 62.44 kB / 0.8464 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.7075, allocations: 56.91 kB / 0.8465 GB, free: 5.977 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.433e-05/0.7075, allocations: 35.98 kB / 0.8465 GB, free: 5.941 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005902/0.7081, allocations: 491 kB / 0.847 GB, free: 5.465 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7081, allocations: 0 / 0.847 GB, free: 5.465 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008263/0.709, allocations: 346.9 kB / 0.8473 GB, free: 5.125 MB / 0.67 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 (89): * Single equations (assignments): 86 * 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.001282/0.7103, allocations: 0.5894 MB / 0.8479 GB, free: 4.707 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001564/0.7118, allocations: 0.8079 MB / 0.8487 GB, free: 3.891 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.7118, allocations: 0 / 0.8487 GB, free: 3.891 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008668/0.7127, allocations: 0.508 MB / 0.8492 GB, free: 3.371 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.7138, allocations: 307.7 kB / 0.8495 GB, free: 3.098 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003736/0.7175, allocations: 1.944 MB / 0.8514 GB, free: 1.125 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.7181, allocations: 1.082 MB / 0.8524 GB, free: 12 kB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007352/0.7189, allocations: 262.8 kB / 0.8527 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.7191, allocations: 107.4 kB / 0.8528 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of SimCode: time 7.61e-07/0.7191, allocations: 0 / 0.8528 GB, free: 15.64 MB / 0.6856 GB Notification: Performance of Templates: time 0.02585/0.745, allocations: 14.67 MB / 0.8671 GB, free: 1.125 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)