Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001087/0.001087, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001223/0.001223, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.4 MB / 222.1 MB, free: 5.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4113/0.4113, allocations: 54.98 MB / 325.3 MB, free: 0.7422 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005578/0.0005579, allocations: 16 kB / 396.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3543, allocations: 60.71 MB / 457.3 MB, free: 38.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006205/0.3605, allocations: 4.935 MB / 462.2 MB, free: 37.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1461/0.5067, allocations: 128 MB / 0.5764 GB, free: 2.348 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001925/0.5087, allocations: 23.88 kB / 0.5764 GB, free: 2.324 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008813/0.5096, allocations: 110.9 kB / 0.5766 GB, free: 2.215 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002415/0.512, allocations: 0.5327 MB / 0.5771 GB, free: 1.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002625/0.5146, allocations: 0.8815 MB / 0.5779 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.5172, allocations: 1.305 MB / 0.5792 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001753/0.519, allocations: 1.07 MB / 0.5803 GB, free: 14.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.5202, allocations: 0.6846 MB / 0.5809 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.5213, allocations: 0.7346 MB / 0.5816 GB, free: 12.99 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002659/0.5216, allocations: 52 kB / 0.5817 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009018/0.5225, allocations: 311.5 kB / 0.582 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.5229, allocations: 326.6 kB / 0.5823 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.5233, allocations: 356.6 kB / 0.5826 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.5256, allocations: 2.223 MB / 0.5848 GB, free: 9.742 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.5256, allocations: 0 / 0.5848 GB, free: 9.742 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.448e-06/0.5256, allocations: 0 / 0.5848 GB, free: 9.742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.701e-05/0.5257, allocations: 7.938 kB / 0.5848 GB, free: 9.734 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004602/0.5303, allocations: 2.025 MB / 0.5868 GB, free: 7.652 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.5304, allocations: 12.03 kB / 0.5868 GB, free: 7.641 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01637/0.5468, allocations: 2.312 MB / 0.5891 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.5492, allocations: 1.081 MB / 0.5901 GB, free: 4.195 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.5493, allocations: 152.2 kB / 0.5903 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006048/0.55, allocations: 200 kB / 0.5905 GB, free: 3.848 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009046/0.559, allocations: 3.082 MB / 0.5935 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.799e-05/0.5591, allocations: 0 / 0.5935 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003256/0.5594, allocations: 85.72 kB / 0.5935 GB, free: 0.5938 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-05/0.5595, allocations: 63.92 kB / 0.5936 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/0.5728, allocations: 4.118 MB / 0.5976 GB, free: 12.39 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01746/0.5903, allocations: 6.569 MB / 0.604 GB, free: 5.754 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01097/0.6013, allocations: 2.818 MB / 0.6068 GB, free: 2.926 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/0.6021, allocations: 0.5035 MB / 0.6073 GB, free: 2.332 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00506/0.6072, allocations: 1.668 MB / 0.6089 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=192): time 4.288e-06/0.6072, allocations: 0 / 0.6089 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of matching and sorting (n=192): time 0.0143/0.6215, allocations: 4.121 MB / 0.6129 GB, free: 12.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.6216, allocations: 124.8 kB / 0.6131 GB, free: 12.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009611/0.6226, allocations: 0.7563 MB / 0.6138 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002855/0.6229, allocations: 61.7 kB / 0.6139 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005267/0.6234, allocations: 0.6604 MB / 0.6145 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006391/0.6241, allocations: 0.6198 MB / 0.6151 GB, free: 10.22 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.6242, allocations: 36 kB / 0.6151 GB, free: 10.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6244, allocations: 365.9 kB / 0.6155 GB, free: 9.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003949/0.6283, allocations: 1.155 MB / 0.6166 GB, free: 8.664 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00411/0.6325, allocations: 1.294 MB / 0.6179 GB, free: 7.348 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004245/0.6367, allocations: 1.182 MB / 0.619 GB, free: 6.172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.6368, allocations: 0 / 0.619 GB, free: 6.172 MB / 494.1 MB Notification: Performance of matching and sorting (n=206) (initialization): time 0.01064/0.6474, allocations: 2.851 MB / 0.6218 GB, free: 3.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.6475, allocations: 11.89 kB / 0.6218 GB, free: 3.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6475, allocations: 4 kB / 0.6218 GB, free: 3.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/0.6481, allocations: 88.89 kB / 0.6219 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003833/0.652, allocations: 0.5499 MB / 0.6225 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.654, allocations: 1.537 MB / 0.624 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002941/0.657, allocations: 322.3 kB / 0.6243 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003599/0.6573, allocations: 87.89 kB / 0.6243 GB, free: 0.5703 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 203 * 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.001034/0.6584, allocations: 381.5 kB / 0.6247 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/0.6588, allocations: 134.4 kB / 0.6248 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.67, allocations: 3.415 MB / 0.6282 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-05/0.6701, allocations: 20 kB / 0.6282 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.6701, allocations: 4 kB / 0.6282 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/0.6701, allocations: 11.97 kB / 0.6282 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0139/0.684, allocations: 5.558 MB / 0.6336 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.6841, allocations: 0 / 0.6336 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003505/0.6876, allocations: 0.535 MB / 0.6342 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005376/0.6882, allocations: 88.77 kB / 0.6342 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002345/0.6884, allocations: 71.88 kB / 0.6343 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.6903, allocations: 1.557 MB / 0.6358 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6903, allocations: 3.938 kB / 0.6358 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009966/0.7003, allocations: 2.978 MB / 0.6387 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.7014, allocations: 0.5181 MB / 0.6393 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003908/0.7018, allocations: 32 kB / 0.6393 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002814/0.7047, allocations: 243.8 kB / 0.6395 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003087/0.705, allocations: 125.8 kB / 0.6396 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002898/0.7053, allocations: 79.91 kB / 0.6397 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000996/0.7063, allocations: 0.5622 MB / 0.6403 GB, free: 0 / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/0.7063, allocations: 0 / 0.6403 GB, free: 0 / 0.4981 GB Notification: Performance of remove unused functions: time 0.2049/0.9112, allocations: 0.5683 MB / 0.6408 GB, free: 155.4 MB / 0.4981 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 199 * 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.001312/0.9126, allocations: 0.6016 MB / 0.6414 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008346/0.9209, allocations: 2.906 MB / 0.6442 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.921, allocations: 3.719 kB / 0.6442 GB, free: 155.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004062/0.925, allocations: 1.624 MB / 0.6458 GB, free: 155 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.9261, allocations: 225.8 kB / 0.646 GB, free: 155 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008187/0.9343, allocations: 4.608 MB / 0.6505 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006244/0.935, allocations: 1.378 MB / 0.6519 GB, free: 152.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003118/0.9381, allocations: 0.5271 MB / 0.6524 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/0.9389, allocations: 211.5 kB / 0.6526 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of SimCode: time 7.91e-07/0.9389, allocations: 4 kB / 0.6526 GB, free: 152.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.03876/0.9777, allocations: 23.75 MB / 0.6758 GB, free: 149.1 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) Environment - environmentSimulation: