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.001219/0.001219, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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: 198.1 kB / 16.14 MB, free: 6.711 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9424/0.9424, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 64.59 kB / 0.5047 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2011, allocations: 80.92 MB / 0.5837 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008054/0.2092, allocations: 6.023 MB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.5588/0.768, allocations: 149.1 MB / 0.7352 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001861/0.7699, allocations: 19.44 kB / 0.7352 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008273/0.7708, allocations: 185.9 kB / 0.7354 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002125/0.773, allocations: 0.5133 MB / 0.7359 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002979/0.776, allocations: 1.14 MB / 0.737 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003353/0.7793, allocations: 2.237 MB / 0.7392 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.7819, allocations: 1.535 MB / 0.7407 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.7839, allocations: 0.8932 MB / 0.7416 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.7853, allocations: 1.091 MB / 0.7426 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002761/0.7856, allocations: 148.5 kB / 0.7428 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.7871, allocations: 0.4982 MB / 0.7432 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005841/0.7877, allocations: 0.5009 MB / 0.7437 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/0.7888, allocations: 1.028 MB / 0.7447 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003356/0.7922, allocations: 3.101 MB / 0.7478 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.7922, allocations: 4 kB / 0.7478 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7922, allocations: 2.969 kB / 0.7478 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.594e-05/0.7923, allocations: 0 / 0.7478 GB, free: 4.227 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: 556 * Number of variables: 556 Notification: Performance of Generate backend data structure: time 0.006173/0.7985, allocations: 2.579 MB / 0.7503 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.7985, allocations: 10.56 kB / 0.7503 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01595/0.8145, allocations: 2.098 MB / 0.7524 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003063/0.8176, allocations: 1.189 MB / 0.7535 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001356/0.8178, allocations: 156.4 kB / 0.7537 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004749/0.8183, allocations: 216 kB / 0.7539 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009121/0.8274, allocations: 3.158 MB / 0.757 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.8275, allocations: 3.938 kB / 0.757 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.8278, allocations: 88 kB / 0.757 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.8278, allocations: 52 kB / 0.7571 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01273/0.8405, allocations: 4.103 MB / 0.7611 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01649/0.8571, allocations: 6.997 MB / 0.7679 GB, free: 288 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008079/0.8652, allocations: 2.685 MB / 0.7706 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004126/0.8694, allocations: 1.431 MB / 0.772 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000822/0.8702, allocations: 0.5073 MB / 0.7724 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004835/0.8751, allocations: 1.688 MB / 0.7741 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.687e-06/0.8751, allocations: 0 / 0.7741 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01424/0.8893, allocations: 4.208 MB / 0.7782 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000137/0.8895, allocations: 197.9 kB / 0.7784 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.8909, allocations: 0.8579 MB / 0.7792 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002121/0.8911, allocations: 65.45 kB / 0.7793 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006706/0.8918, allocations: 0.7035 MB / 0.78 GB, free: 3.719 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006253/0.8924, allocations: 0.6314 MB / 0.7806 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007125/0.8931, allocations: 363.2 kB / 0.7809 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.8933, allocations: 301.1 kB / 0.7812 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003885/0.8971, allocations: 1.187 MB / 0.7824 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004021/0.9012, allocations: 1.367 MB / 0.7837 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007778/0.909, allocations: 2.489 MB / 0.7862 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/0.909, allocations: 5.359 kB / 0.7862 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.009592/0.9186, allocations: 2.96 MB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.049e-05/0.9187, allocations: 4 kB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.9187, allocations: 4 kB / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/0.9193, allocations: 88.83 kB / 0.7891 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003758/0.9231, allocations: 0.5695 MB / 0.7897 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/0.9252, allocations: 1.525 MB / 0.7912 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003296/0.9285, allocations: 334.2 kB / 0.7915 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002957/0.9288, allocations: 99.83 kB / 0.7916 GB, free: 7.605 MB / 0.6075 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.001348/0.9302, allocations: 401.7 kB / 0.792 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004635/0.9306, allocations: 142.3 kB / 0.7921 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01089/0.9415, allocations: 3.485 MB / 0.7955 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.9416, allocations: 20 kB / 0.7955 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.9416, allocations: 0 / 0.7955 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.121e-05/0.9416, allocations: 11.95 kB / 0.7956 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/0.955, allocations: 5.757 MB / 0.8012 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.955, allocations: 0 / 0.8012 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003442/0.9585, allocations: 0.5422 MB / 0.8017 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005348/0.959, allocations: 84.77 kB / 0.8018 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002316/0.9593, allocations: 71.86 kB / 0.8019 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.9613, allocations: 1.548 MB / 0.8034 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9613, allocations: 0 / 0.8034 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009592/0.9709, allocations: 3.055 MB / 0.8064 GB, free: 8.254 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.972, allocations: 0.4986 MB / 0.8068 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003352/0.9723, allocations: 55.91 kB / 0.8069 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002699/0.975, allocations: 243.7 kB / 0.8071 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002923/0.9753, allocations: 128.7 kB / 0.8072 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/0.9755, allocations: 87.86 kB / 0.8073 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009134/0.9765, allocations: 0.6388 MB / 0.808 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9765, allocations: 0 / 0.808 GB, free: 6.582 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001635/0.9781, allocations: 0.5958 MB / 0.8085 GB, free: 5.984 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 (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.001551/0.9797, allocations: 0.6491 MB / 0.8092 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009256/0.9889, allocations: 2.975 MB / 0.8121 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.989, allocations: 4.062 kB / 0.8121 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004972/0.994, allocations: 1.657 MB / 0.8137 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.9958, allocations: 324 kB / 0.814 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009789/1.006, allocations: 4.896 MB / 0.8188 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009969/1.007, allocations: 1.369 MB / 0.8201 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003713/1.01, allocations: 0.5468 MB / 0.8207 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/1.011, allocations: 215.2 kB / 0.8209 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of SimCode: time 6.92e-07/1.011, allocations: 0 / 0.8209 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of Templates: time 0.04525/1.057, allocations: 26.84 MB / 0.8471 GB, free: 14.79 MB / 0.67 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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)