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: "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008668/0.0008668, allocations: 91.61 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.005397/0.005397, allocations: 172.5 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.212/1.212, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6965/0.6965, allocations: 132.3 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 8 kB / 0.5041 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3497, allocations: 81.58 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.00495/0.3547, allocations: 5.55 MB / 0.5892 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1436/0.4983, allocations: 147.5 MB / 0.7332 GB, free: 6.844 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008611/0.4992, allocations: 19.94 kB / 0.7332 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004927/0.4997, allocations: 190.3 kB / 0.7334 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001266/0.501, allocations: 0.519 MB / 0.7339 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.503, allocations: 1.133 MB / 0.735 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001656/0.5047, allocations: 2.228 MB / 0.7372 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.5062, allocations: 1.502 MB / 0.7387 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.5069, allocations: 0.6957 MB / 0.7393 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000817/0.5077, allocations: 0.8236 MB / 0.7402 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.5079, allocations: 56 kB / 0.7402 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006037/0.5085, allocations: 427.6 kB / 0.7406 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002874/0.5088, allocations: 354.2 kB / 0.7409 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006017/0.5094, allocations: 0.8709 MB / 0.7418 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002089/0.5115, allocations: 2.962 MB / 0.7447 GB, free: 11 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.5115, allocations: 4 kB / 0.7447 GB, free: 11 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5115, allocations: 4 kB / 0.7447 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.5115, allocations: 0 / 0.7447 GB, free: 10.99 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.003843/0.5154, allocations: 2.099 MB / 0.7468 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.5154, allocations: 12.03 kB / 0.7468 GB, free: 8.82 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003301/0.5157, allocations: 304.3 kB / 0.7471 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01492/0.5307, allocations: 2.28 MB / 0.7493 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.5321, allocations: 1.196 MB / 0.7504 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.5323, allocations: 160.4 kB / 0.7506 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/0.5326, allocations: 212 kB / 0.7508 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007478/0.5401, allocations: 3.232 MB / 0.754 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/0.5401, allocations: 0 / 0.754 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.5404, allocations: 88 kB / 0.754 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.5404, allocations: 52 kB / 0.7541 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01161/0.552, allocations: 4.251 MB / 0.7582 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01273/0.5648, allocations: 7.058 MB / 0.7651 GB, free: 5.734 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008051/0.5728, allocations: 2.711 MB / 0.7678 GB, free: 3.016 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003993/0.5768, allocations: 1.438 MB / 0.7692 GB, free: 1.574 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006389/0.5775, allocations: 0.5075 MB / 0.7697 GB, free: 0.9766 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004344/0.5818, allocations: 1.703 MB / 0.7713 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=195): time 2.875e-06/0.5819, allocations: 0 / 0.7713 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=195): time 0.0133/0.5952, allocations: 4.243 MB / 0.7755 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.954e-05/0.5953, allocations: 201.9 kB / 0.7757 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.5962, allocations: 0.8584 MB / 0.7765 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001724/0.5964, allocations: 61.7 kB / 0.7766 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/0.5968, allocations: 0.7112 MB / 0.7773 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000474/0.5973, allocations: 0.6274 MB / 0.7779 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.5976, allocations: 129.6 kB / 0.778 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.5976, allocations: 309.1 kB / 0.7783 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/0.6015, allocations: 1.183 MB / 0.7795 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003968/0.6055, allocations: 1.374 MB / 0.7808 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007733/0.6132, allocations: 2.489 MB / 0.7832 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6132, allocations: 0 / 0.7832 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=209) (initialization): time 0.008881/0.6221, allocations: 2.937 MB / 0.7861 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.6222, allocations: 4 kB / 0.7861 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.026e-06/0.6222, allocations: 4 kB / 0.7861 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005677/0.6227, allocations: 84.83 kB / 0.7862 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/0.6261, allocations: 0.5695 MB / 0.7867 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001786/0.6279, allocations: 1.536 MB / 0.7882 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/0.6306, allocations: 342.2 kB / 0.7886 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.6308, allocations: 92 kB / 0.7887 GB, free: 13.19 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: 6 (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 (207): * Single equations (assignments): 206 * 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.0008143/0.6316, allocations: 397.4 kB / 0.789 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/0.6319, allocations: 146.2 kB / 0.7892 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.6422, allocations: 3.519 MB / 0.7926 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.6423, allocations: 20 kB / 0.7926 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6423, allocations: 0 / 0.7926 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.936e-05/0.6423, allocations: 11.95 kB / 0.7926 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0121/0.6544, allocations: 5.785 MB / 0.7983 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6544, allocations: 0 / 0.7983 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003229/0.6576, allocations: 0.546 MB / 0.7988 GB, free: 2.676 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005026/0.6582, allocations: 92.77 kB / 0.7989 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.6583, allocations: 67.92 kB / 0.799 GB, free: 2.516 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.66, allocations: 1.544 MB / 0.8005 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.66, allocations: 4.031 kB / 0.8005 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00891/0.6689, allocations: 3.078 MB / 0.8035 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006971/0.6696, allocations: 0.5335 MB / 0.804 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002467/0.6699, allocations: 40 kB / 0.8041 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002605/0.6725, allocations: 263.7 kB / 0.8043 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.6727, allocations: 133.8 kB / 0.8044 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/0.6729, allocations: 79.92 kB / 0.8045 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007724/0.6737, allocations: 0.6465 MB / 0.8051 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6737, allocations: 0 / 0.8051 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00137/0.6751, allocations: 0.5919 MB / 0.8057 GB, free: 11.42 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.01026/0.6853, allocations: 4.17 MB / 0.8098 GB, free: 7.438 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00853/0.6939, allocations: 2.971 MB / 0.8127 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.6939, allocations: 8.25 kB / 0.8127 GB, free: 4.445 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004381/0.6983, allocations: 1.669 MB / 0.8143 GB, free: 2.766 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001476/0.6998, allocations: 329.8 kB / 0.8146 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2589/0.9587, allocations: 16.85 MB / 0.8311 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00088/0.9596, allocations: 1.375 MB / 0.8324 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002917/0.9625, allocations: 0.5494 MB / 0.833 GB, free: 210 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/0.9639, allocations: 0.8187 MB / 0.8338 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.9639, allocations: 3.938 kB / 0.8338 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7436/1.707, allocations: 36.86 MB / 0.8698 GB, free: 181.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/1.708, allocations: 291 kB / 0.8701 GB, free: 180.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.645/4.353, allocations: 0 / 0.8701 GB, free: 180.9 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IDEAS_IDEAS.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1)