Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0007284/0.0007284, allocations: 90.75 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.0007868/0.0007868, 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.242/1.242, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7121/0.7121, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002837/0.0002838, allocations: 8 kB / 0.5034 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3431, allocations: 81.57 MB / 0.5831 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.003674/0.3469, allocations: 3.874 MB / 0.5868 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.134/0.4809, allocations: 136.8 MB / 0.7205 GB, free: 3.688 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006678/0.4816, allocations: 19.94 kB / 0.7205 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.4821, allocations: 146.8 kB / 0.7206 GB, free: 3.523 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.4833, allocations: 401 kB / 0.721 GB, free: 3.133 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.4848, allocations: 0.6177 MB / 0.7216 GB, free: 2.523 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001122/0.4859, allocations: 1.128 MB / 0.7227 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008289/0.4868, allocations: 0.6941 MB / 0.7234 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.4872, allocations: 338.2 kB / 0.7237 GB, free: 348 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004181/0.4877, allocations: 377.8 kB / 0.7241 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.448e-05/0.4877, allocations: 24 kB / 0.7241 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005941/0.4883, allocations: 331.7 kB / 0.7244 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.4885, allocations: 195.1 kB / 0.7246 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.4887, allocations: 221 kB / 0.7248 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.4898, allocations: 1.321 MB / 0.7261 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4899, allocations: 0 / 0.7261 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4899, allocations: 0 / 0.7261 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.917e-05/0.4899, allocations: 0 / 0.7261 GB, free: 13.88 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: 292 * Number of variables: 292 Notification: Performance of Generate backend data structure: time 0.001988/0.4919, allocations: 1.351 MB / 0.7274 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.4919, allocations: 12.03 kB / 0.7274 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008304/0.4928, allocations: 226.1 kB / 0.7276 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.4938, allocations: 0.778 MB / 0.7284 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.4938, allocations: 82.3 kB / 0.7285 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.494, allocations: 112 kB / 0.7286 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.4957, allocations: 1.134 MB / 0.7297 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.4957, allocations: 0 / 0.7297 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.4958, allocations: 48 kB / 0.7297 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.4959, allocations: 31.95 kB / 0.7298 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/0.4977, allocations: 1.23 MB / 0.731 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00395/0.5017, allocations: 3.028 MB / 0.7339 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.5029, allocations: 0.7803 MB / 0.7347 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.5033, allocations: 298.7 kB / 0.735 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.5034, allocations: 40.62 kB / 0.735 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006974/0.5041, allocations: 447.2 kB / 0.7354 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 1.833e-06/0.5041, allocations: 3.938 kB / 0.7354 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002537/0.5067, allocations: 1.156 MB / 0.7366 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.5068, allocations: 188.6 kB / 0.7367 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.5075, allocations: 0.6842 MB / 0.7374 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.078e-05/0.5076, allocations: 41.7 kB / 0.7375 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003103/0.5079, allocations: 0.4919 MB / 0.7379 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.5081, allocations: 260.2 kB / 0.7382 GB, free: 1.133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.5081, allocations: 16 kB / 0.7382 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5083, allocations: 390.7 kB / 0.7386 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004586/0.5087, allocations: 265.9 kB / 0.7388 GB, free: 476 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.5092, allocations: 347.1 kB / 0.7392 GB, free: 120 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.5098, allocations: 310.9 kB / 0.7394 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5098, allocations: 0 / 0.7394 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00164/0.5114, allocations: 0.8409 MB / 0.7403 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.5115, allocations: 7.953 kB / 0.7403 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5115, allocations: 4.094 kB / 0.7403 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.512, allocations: 84.77 kB / 0.7404 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006209/0.5126, allocations: 163.7 kB / 0.7405 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/0.5143, allocations: 1.512 MB / 0.742 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.5149, allocations: 99.28 kB / 0.7421 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.5149, allocations: 35.97 kB / 0.7421 GB, free: 12.91 MB / 0.5762 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 (92): * Single equations (assignments): 91 * 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.000355/0.5153, allocations: 279.4 kB / 0.7424 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.5154, allocations: 94.86 kB / 0.7425 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.5175, allocations: 1.035 MB / 0.7435 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.5175, allocations: 12 kB / 0.7435 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.5175, allocations: 0 / 0.7435 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.5176, allocations: 3.984 kB / 0.7435 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000999/0.5186, allocations: 0.9776 MB / 0.7445 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5186, allocations: 3.938 kB / 0.7445 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00059/0.5192, allocations: 155.7 kB / 0.7446 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004439/0.5196, allocations: 84.77 kB / 0.7447 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.5197, allocations: 23.98 kB / 0.7447 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.5214, allocations: 1.552 MB / 0.7462 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5214, allocations: 0 / 0.7462 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.523, allocations: 0.8927 MB / 0.7471 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.5234, allocations: 279.6 kB / 0.7474 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.5235, allocations: 19.94 kB / 0.7474 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/0.524, allocations: 71.94 kB / 0.7475 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.5241, allocations: 64.86 kB / 0.7475 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.444e-05/0.5242, allocations: 31.98 kB / 0.7476 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005448/0.5247, allocations: 491 kB / 0.748 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5247, allocations: 0 / 0.748 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000726/0.5255, allocations: 338.9 kB / 0.7483 GB, free: 6.293 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 (89): * Single equations (assignments): 86 * 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.001173/0.5266, allocations: 0.5832 MB / 0.7489 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.528, allocations: 0.8038 MB / 0.7497 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5281, allocations: 4 kB / 0.7497 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007782/0.5288, allocations: 0.5082 MB / 0.7502 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009857/0.5298, allocations: 261.5 kB / 0.7504 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003657/0.5335, allocations: 2.446 MB / 0.7528 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005373/0.5341, allocations: 1.087 MB / 0.7539 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007701/0.5348, allocations: 270.8 kB / 0.7542 GB, free: 496 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002392/0.5351, allocations: 107.3 kB / 0.7543 GB, free: 388 kB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.5351, allocations: 0 / 0.7543 GB, free: 388 kB / 0.5762 GB Notification: Performance of Templates: time 0.0201/0.5552, allocations: 13.45 MB / 0.7674 GB, free: 3.105 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1)