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.001226/0.001226, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001688/0.001688, allocations: 168.7 kB / 15.95 MB, free: 204 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.8/1.8, allocations: 205.4 MB / 222.1 MB, free: 5.871 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4066/0.4066, allocations: 55.02 MB / 325.4 MB, free: 0.6953 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.0005408/0.0005408, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5104/0.511, allocations: 60.72 MB / 457.4 MB, free: 37.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006492/0.5175, allocations: 5.045 MB / 462.4 MB, free: 37.45 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2201/0.7377, allocations: 137.2 MB / 0.5856 GB, free: 8.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.7401, allocations: 15.94 kB / 0.5856 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000794/0.7409, allocations: 138.7 kB / 0.5858 GB, free: 8.828 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-104:25:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-47:21:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-46:20:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/BoundaryConditions/WeatherData/BaseClasses/getAbsolutePath.mo:2:1-49:20:writable] Warning: Pure function ‘Annex60.BoundaryConditions.WeatherData.BaseClasses.getAbsolutePath‘ contains a call to impure function ‘Modelica.Utilities.Files.exist‘. Notification: Performance of NFTyping.typeBindings: time 0.002251/0.7432, allocations: 473 kB / 0.5862 GB, free: 8.371 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003118/0.7463, allocations: 0.8898 MB / 0.5871 GB, free: 7.488 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002953/0.7493, allocations: 1.95 MB / 0.589 GB, free: 5.535 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001598/0.7509, allocations: 1.071 MB / 0.59 GB, free: 4.449 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.7523, allocations: 0.6649 MB / 0.5907 GB, free: 3.781 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.7534, allocations: 0.754 MB / 0.5914 GB, free: 3.023 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.7535, allocations: 52 kB / 0.5915 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.7547, allocations: 335.7 kB / 0.5918 GB, free: 2.645 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.7551, allocations: 330.5 kB / 0.5921 GB, free: 2.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.7555, allocations: 348.6 kB / 0.5924 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.7579, allocations: 2.229 MB / 0.5946 GB, free: 15.74 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.758, allocations: 4 kB / 0.5946 GB, free: 15.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.758, allocations: 0 / 0.5946 GB, free: 15.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.124e-05/0.758, allocations: 0 / 0.5946 GB, free: 15.73 MB / 478.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.004584/0.7626, allocations: 2.033 MB / 0.5966 GB, free: 13.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.7627, allocations: 12.02 kB / 0.5966 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/0.7774, allocations: 2.308 MB / 0.5989 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.7805, allocations: 1.082 MB / 0.5999 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.7806, allocations: 152.2 kB / 0.6001 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/0.781, allocations: 200 kB / 0.6003 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008675/0.7897, allocations: 3.105 MB / 0.6033 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.841e-05/0.7898, allocations: 0 / 0.6033 GB, free: 6.648 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002504/0.7901, allocations: 85.72 kB / 0.6034 GB, free: 6.566 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/0.7901, allocations: 52 kB / 0.6034 GB, free: 6.516 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.8025, allocations: 4.118 MB / 0.6074 GB, free: 2.379 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01582/0.8184, allocations: 6.577 MB / 0.6139 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00887/0.8273, allocations: 2.807 MB / 0.6166 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004166/0.8315, allocations: 1.411 MB / 0.618 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008886/0.8325, allocations: 0.5004 MB / 0.6185 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004966/0.8374, allocations: 1.684 MB / 0.6201 GB, free: 5.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=192): time 3.506e-06/0.8375, allocations: 4 kB / 0.6201 GB, free: 5.199 MB / 494.1 MB Notification: Performance of matching and sorting (n=192): time 0.01308/0.8505, allocations: 4.115 MB / 0.6241 GB, free: 1.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.8507, allocations: 124.8 kB / 0.6243 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.8519, allocations: 0.7554 MB / 0.625 GB, free: 152 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002226/0.8522, allocations: 57.7 kB / 0.625 GB, free: 88 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006659/0.8528, allocations: 0.6566 MB / 0.6257 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006721/0.8535, allocations: 0.6237 MB / 0.6263 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.8537, allocations: 37.31 kB / 0.6263 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.8539, allocations: 365.9 kB / 0.6267 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/0.8575, allocations: 1.144 MB / 0.6278 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003708/0.8612, allocations: 1.309 MB / 0.6291 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003799/0.865, allocations: 1.185 MB / 0.6302 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.8651, allocations: 0 / 0.6302 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=206) (initialization): time 0.008823/0.8739, allocations: 2.851 MB / 0.633 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.874, allocations: 8.125 kB / 0.633 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.874, allocations: 4 kB / 0.633 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.8746, allocations: 90.39 kB / 0.6331 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003467/0.8781, allocations: 0.5578 MB / 0.6337 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002285/0.8804, allocations: 1.51 MB / 0.6351 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003081/0.8835, allocations: 318.3 kB / 0.6354 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003829/0.8839, allocations: 88.45 kB / 0.6355 GB, free: 5.156 MB / 0.4981 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 ($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.001109/0.885, allocations: 393.4 kB / 0.6359 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/0.8853, allocations: 134.4 kB / 0.636 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01055/0.8959, allocations: 3.411 MB / 0.6394 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.412e-05/0.896, allocations: 20 kB / 0.6394 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.896, allocations: 1.062 kB / 0.6394 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.8961, allocations: 11.95 kB / 0.6394 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3679/1.264, allocations: 5.563 MB / 0.6448 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/1.264, allocations: 5.938 kB / 0.6448 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003053/1.267, allocations: 0.5391 MB / 0.6454 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004823/1.268, allocations: 83.73 kB / 0.6454 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002279/1.268, allocations: 72.94 kB / 0.6455 GB, free: 155.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/1.27, allocations: 1.528 MB / 0.647 GB, free: 154.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/1.27, allocations: 0.5625 kB / 0.647 GB, free: 154.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008274/1.278, allocations: 2.979 MB / 0.6499 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008133/1.279, allocations: 0.519 MB / 0.6504 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002398/1.279, allocations: 40.38 kB / 0.6505 GB, free: 153.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/1.281, allocations: 248.5 kB / 0.6507 GB, free: 153.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.282, allocations: 115.5 kB / 0.6508 GB, free: 153.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001962/1.282, allocations: 89.19 kB / 0.6509 GB, free: 153.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000783/1.283, allocations: 0.5631 MB / 0.6514 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.61e-07/1.283, allocations: 0 / 0.6514 GB, free: 153.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001655/1.284, allocations: 0.5635 MB / 0.652 GB, free: 153.3 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.001368/1.286, allocations: 0.6111 MB / 0.6526 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007844/1.293, allocations: 2.899 MB / 0.6554 GB, free: 152.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/1.293, allocations: 0 / 0.6554 GB, free: 152.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003801/1.297, allocations: 1.623 MB / 0.657 GB, free: 151.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/1.299, allocations: 267.1 kB / 0.6573 GB, free: 151.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008426/1.307, allocations: 4.616 MB / 0.6618 GB, free: 149.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009883/1.308, allocations: 1.331 MB / 0.6631 GB, free: 148.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003364/1.312, allocations: 0.5259 MB / 0.6636 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009332/1.312, allocations: 206.4 kB / 0.6638 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.322e-06/1.312, allocations: 4 kB / 0.6638 GB, free: 148.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.05479/1.367, allocations: 23.8 MB / 0.687 GB, free: 143.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: