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.00118/0.00118, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001301/0.001301, allocations: 194.6 kB / 16.14 MB, free: 6.703 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.357/1.357, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7239/0.7239, allocations: 132.2 MB / 422.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.77 kB / 0.5011 GB, free: 9.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1586, allocations: 80.21 MB / 0.5794 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.008148/0.1668, allocations: 6.014 MB / 0.5853 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5405/0.7073, allocations: 149.1 MB / 0.7309 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001715/0.7091, allocations: 23.72 kB / 0.7309 GB, free: 1.324 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.7103, allocations: 181.2 kB / 0.7311 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00211/0.7124, allocations: 0.5172 MB / 0.7316 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.7153, allocations: 1.137 MB / 0.7327 GB, free: 264 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003159/0.7185, allocations: 2.228 MB / 0.7349 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.7207, allocations: 1.531 MB / 0.7364 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.7222, allocations: 0.8959 MB / 0.7373 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.7237, allocations: 1.089 MB / 0.7383 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002931/0.724, allocations: 148.8 kB / 0.7385 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.7253, allocations: 0.4977 MB / 0.739 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000506/0.7258, allocations: 0.5013 MB / 0.7395 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.7271, allocations: 1.032 MB / 0.7405 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003568/0.7306, allocations: 3.096 MB / 0.7435 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.7307, allocations: 0 / 0.7435 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7307, allocations: 0 / 0.7435 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.414e-05/0.7307, allocations: 0 / 0.7435 GB, free: 9.609 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.006311/0.737, allocations: 2.584 MB / 0.746 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.7371, allocations: 7.656 kB / 0.746 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/0.7533, allocations: 2.094 MB / 0.7481 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003097/0.7564, allocations: 1.193 MB / 0.7492 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.7566, allocations: 160.4 kB / 0.7494 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/0.757, allocations: 220 kB / 0.7496 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009077/0.7661, allocations: 3.154 MB / 0.7527 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/0.7662, allocations: 0 / 0.7527 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/0.7665, allocations: 88 kB / 0.7528 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.7666, allocations: 52 kB / 0.7528 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01283/0.7794, allocations: 4.109 MB / 0.7568 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01696/0.7964, allocations: 7 MB / 0.7637 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008607/0.805, allocations: 2.689 MB / 0.7663 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004379/0.8095, allocations: 1.43 MB / 0.7677 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007926/0.8103, allocations: 0.4996 MB / 0.7682 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005103/0.8154, allocations: 1.692 MB / 0.7698 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=195): time 3.978e-06/0.8154, allocations: 0 / 0.7698 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=195): time 0.01584/0.8313, allocations: 4.204 MB / 0.7739 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.8315, allocations: 202.6 kB / 0.7741 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.8331, allocations: 0.858 MB / 0.775 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003/0.8334, allocations: 61.7 kB / 0.775 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006311/0.834, allocations: 0.6995 MB / 0.7757 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006789/0.8347, allocations: 0.6313 MB / 0.7763 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007147/0.8354, allocations: 367.2 kB / 0.7767 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.8355, allocations: 301.1 kB / 0.7769 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00408/0.8396, allocations: 1.19 MB / 0.7781 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004305/0.844, allocations: 1.363 MB / 0.7794 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008259/0.8522, allocations: 2.493 MB / 0.7819 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.8523, allocations: 4 kB / 0.7819 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01011/0.8624, allocations: 2.952 MB / 0.7848 GB, free: 292 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.8624, allocations: 8 kB / 0.7848 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.8625, allocations: 0 / 0.7848 GB, free: 284 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006399/0.8631, allocations: 92.81 kB / 0.7849 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003871/0.867, allocations: 0.5695 MB / 0.7854 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.8692, allocations: 1.528 MB / 0.7869 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/0.8724, allocations: 338.2 kB / 0.7872 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004551/0.8729, allocations: 87.89 kB / 0.7873 GB, free: 13.53 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.001421/0.8743, allocations: 403 kB / 0.7877 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007177/0.875, allocations: 138.3 kB / 0.7878 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.887, allocations: 3.498 MB / 0.7912 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.263e-05/0.887, allocations: 20 kB / 0.7913 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.8871, allocations: 112 / 0.7913 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.8871, allocations: 15.89 kB / 0.7913 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.902, allocations: 5.75 MB / 0.7969 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.902, allocations: 7.938 kB / 0.7969 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/0.9055, allocations: 0.5422 MB / 0.7974 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005607/0.9061, allocations: 80.77 kB / 0.7975 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002719/0.9064, allocations: 79.8 kB / 0.7976 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/0.9083, allocations: 1.549 MB / 0.7991 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.9083, allocations: 4 kB / 0.7991 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0098/0.9181, allocations: 3.059 MB / 0.8021 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/0.9192, allocations: 0.4947 MB / 0.8026 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/0.9196, allocations: 51.84 kB / 0.8026 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00281/0.9225, allocations: 243.7 kB / 0.8029 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002862/0.9228, allocations: 125.8 kB / 0.803 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002329/0.923, allocations: 87.86 kB / 0.8031 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001209/0.9242, allocations: 0.6388 MB / 0.8037 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.2e-07/0.9242, allocations: 0 / 0.8037 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001924/0.9262, allocations: 0.588 MB / 0.8043 GB, free: 11.91 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.001733/0.9279, allocations: 0.6573 MB / 0.8049 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009026/0.9369, allocations: 2.979 MB / 0.8078 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.937, allocations: 3.938 kB / 0.8078 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.004715/0.9417, allocations: 1.661 MB / 0.8094 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001943/0.9436, allocations: 322.5 kB / 0.8097 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.9541, allocations: 4.882 MB / 0.8145 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.9555, allocations: 1.37 MB / 0.8158 GB, free: 196 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.003569/0.9591, allocations: 0.5468 MB / 0.8164 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/0.9601, allocations: 215.2 kB / 0.8166 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of SimCode: time 5.71e-07/0.9601, allocations: 8 kB / 0.8166 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of Templates: time 0.04801/1.008, allocations: 26.85 MB / 0.8428 GB, free: 4.746 MB / 0.6544 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)