Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.000844/0.000844, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005932/0.005932, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7751/0.7751, allocations: 132.3 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003534, allocations: 9.031 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5382/0.5386, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006304/0.5449, allocations: 5.552 MB / 0.5891 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1902/0.7351, allocations: 147.5 MB / 0.7331 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.7371, allocations: 19.94 kB / 0.7332 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.7382, allocations: 186.4 kB / 0.7333 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.7411, allocations: 0.5079 MB / 0.7338 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.7445, allocations: 1.143 MB / 0.7349 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003319/0.7478, allocations: 2.228 MB / 0.7371 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002426/0.7503, allocations: 1.506 MB / 0.7386 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.7517, allocations: 0.6957 MB / 0.7393 GB, free: 496 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001447/0.7531, allocations: 0.8236 MB / 0.7401 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004429/0.7536, allocations: 56 kB / 0.7401 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00139/0.755, allocations: 415.7 kB / 0.7405 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005694/0.7556, allocations: 362.2 kB / 0.7409 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.7568, allocations: 0.8671 MB / 0.7417 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003767/0.7606, allocations: 2.962 MB / 0.7446 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.7606, allocations: 0 / 0.7446 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.717e-06/0.7606, allocations: 0 / 0.7446 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001211/0.7608, allocations: 7.938 kB / 0.7446 GB, free: 10.98 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.00599/0.7668, allocations: 2.095 MB / 0.7467 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.7668, allocations: 8.031 kB / 0.7467 GB, free: 8.816 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01648/0.7833, allocations: 2.276 MB / 0.7489 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.7862, allocations: 1.2 MB / 0.7501 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/0.7864, allocations: 164.4 kB / 0.7502 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008764/0.7873, allocations: 208 kB / 0.7504 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01137/0.7987, allocations: 3.224 MB / 0.7536 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.095e-05/0.7988, allocations: 7.938 kB / 0.7536 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006175/0.7995, allocations: 92 kB / 0.7537 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-05/0.7995, allocations: 52 kB / 0.7537 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0154/0.8149, allocations: 4.243 MB / 0.7579 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02104/0.836, allocations: 7.054 MB / 0.7647 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009724/0.8458, allocations: 2.708 MB / 0.7674 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004705/0.8505, allocations: 1.442 MB / 0.7688 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008253/0.8514, allocations: 0.5035 MB / 0.7693 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005379/0.8568, allocations: 1.714 MB / 0.771 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=195): time 3.938e-06/0.8568, allocations: 0 / 0.771 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=195): time 0.01536/0.8722, allocations: 4.232 MB / 0.7751 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.8723, allocations: 201.9 kB / 0.7753 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001615/0.874, allocations: 0.8619 MB / 0.7761 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003588/0.8743, allocations: 61.7 kB / 0.7762 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007379/0.8751, allocations: 0.7072 MB / 0.7769 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007575/0.8759, allocations: 0.6275 MB / 0.7775 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002933/0.8762, allocations: 137.6 kB / 0.7776 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.8763, allocations: 301.1 kB / 0.7779 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004267/0.8806, allocations: 1.202 MB / 0.7791 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004497/0.8851, allocations: 1.379 MB / 0.7804 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008741/0.8938, allocations: 2.524 MB / 0.7829 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.8939, allocations: 0 / 0.7829 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01018/0.904, allocations: 2.98 MB / 0.7858 GB, free: 172 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.9041, allocations: 4 kB / 0.7858 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.9041, allocations: 4 kB / 0.7858 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/0.9048, allocations: 88.83 kB / 0.7859 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003727/0.9085, allocations: 0.5773 MB / 0.7865 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.9108, allocations: 1.534 MB / 0.788 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/0.914, allocations: 342.2 kB / 0.7883 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/0.9145, allocations: 103.9 kB / 0.7884 GB, free: 13.39 MB / 0.6231 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.001284/0.9158, allocations: 407 kB / 0.7888 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004421/0.9162, allocations: 142.2 kB / 0.7889 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.9283, allocations: 3.508 MB / 0.7923 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/0.9284, allocations: 20 kB / 0.7924 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.9284, allocations: 3.938 kB / 0.7924 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/0.9284, allocations: 15.95 kB / 0.7924 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.9431, allocations: 5.773 MB / 0.798 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.9431, allocations: 3.984 kB / 0.798 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003816/0.9469, allocations: 0.55 MB / 0.7986 GB, free: 2.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005815/0.9476, allocations: 92.7 kB / 0.7986 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003601/0.9479, allocations: 71.92 kB / 0.7987 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.9499, allocations: 1.544 MB / 0.8002 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.95, allocations: 0 / 0.8002 GB, free: 1.035 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01064/0.9606, allocations: 3.074 MB / 0.8032 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.9617, allocations: 0.5336 MB / 0.8037 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/0.9621, allocations: 39.94 kB / 0.8038 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002867/0.965, allocations: 275 kB / 0.804 GB, free: 13.08 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/0.9653, allocations: 133.7 kB / 0.8042 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002287/0.9655, allocations: 83.92 kB / 0.8043 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001086/0.9666, allocations: 0.6388 MB / 0.8049 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.9e-07/0.9667, allocations: 0 / 0.8049 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001796/0.9685, allocations: 0.5998 MB / 0.8055 GB, free: 11.62 MB / 0.6387 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.001612/0.9701, allocations: 0.6293 MB / 0.8061 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009696/0.9798, allocations: 3.014 MB / 0.809 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.9798, allocations: 256 / 0.809 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00513/0.985, allocations: 1.669 MB / 0.8106 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/0.9874, allocations: 323.1 kB / 0.811 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.9984, allocations: 4.966 MB / 0.8158 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.276/1.274, allocations: 1.37 MB / 0.8171 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003797/1.278, allocations: 0.5443 MB / 0.8177 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.279, allocations: 213 kB / 0.8179 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of SimCode: time 9.92e-07/1.279, allocations: 0 / 0.8179 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.04929/1.329, allocations: 26.61 MB / 0.8439 GB, free: 204.9 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)