Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.778/1.778, allocations: 287.4 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 186 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 0.6304 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007498/0.0007498, allocations: 106.8 kB / 0.7438 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 19.47 kB / 0.8667 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.221, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.007526/0.2286, allocations: 6.667 MB / 0.9858 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7004/0.929, allocations: 138 MB / 1.121 GB, free: 1.719 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.9304, allocations: 27.69 kB / 1.121 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007675/0.9312, allocations: 199.7 kB / 1.121 GB, free: 1.617 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.002271/0.9335, allocations: 0.5456 MB / 1.121 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002753/0.9362, allocations: 0.8203 MB / 1.122 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003166/0.9394, allocations: 1.913 MB / 1.124 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.942, allocations: 1.554 MB / 1.125 GB, free: 0.6914 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001267/0.9433, allocations: 0.55 MB / 1.126 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.9444, allocations: 0.663 MB / 1.127 GB, free: 384 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.9447, allocations: 47.53 kB / 1.127 GB, free: 384 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.9461, allocations: 367.1 kB / 1.127 GB, free: 360 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00038/0.9465, allocations: 334.7 kB / 1.127 GB, free: 292 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004585/0.9469, allocations: 302.8 kB / 1.128 GB, free: 200 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.9495, allocations: 1.897 MB / 1.129 GB, free: 64 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.9495, allocations: 1.562 kB / 1.129 GB, free: 64 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.046e-06/0.9495, allocations: 0 / 1.129 GB, free: 64 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.927e-05/0.9496, allocations: 4 kB / 1.129 GB, free: 60 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 408 * Number of variables: 408 Notification: Performance of Generate backend data structure: time 0.004226/0.9538, allocations: 1.708 MB / 1.131 GB, free: 15.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.9539, allocations: 10.75 kB / 1.131 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005981/0.9599, allocations: 0.938 MB / 1.132 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.9621, allocations: 1.013 MB / 1.133 GB, free: 14.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.9622, allocations: 118.7 kB / 1.133 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.9625, allocations: 150.5 kB / 1.133 GB, free: 14.56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00491/0.9674, allocations: 2.055 MB / 1.135 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.9675, allocations: 4.406 kB / 1.135 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/0.9677, allocations: 66.25 kB / 1.135 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001008/0.9678, allocations: 74.14 kB / 1.135 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006451/0.9743, allocations: 2.404 MB / 1.138 GB, free: 13.99 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/0.9863, allocations: 6.416 MB / 1.144 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004218/0.9906, allocations: 1.564 MB / 1.146 GB, free: 10.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.9925, allocations: 0.7443 MB / 1.146 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007151/0.9932, allocations: 485.2 kB / 1.147 GB, free: 9.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002052/0.9953, allocations: 0.9189 MB / 1.148 GB, free: 9.324 MB / 0.698 GB Notification: Performance of pre-optimization done (n=128): time 3.857e-06/0.9953, allocations: 0 / 1.148 GB, free: 9.324 MB / 0.698 GB Notification: Performance of matching and sorting (n=128): time 0.006526/1.002, allocations: 2.169 MB / 1.15 GB, free: 8.789 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/1.002, allocations: 305.6 kB / 1.15 GB, free: 8.438 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/1.004, allocations: 0.8286 MB / 1.151 GB, free: 8.156 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/1.004, allocations: 50.08 kB / 1.151 GB, free: 8.125 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005975/1.004, allocations: 0.6345 MB / 1.152 GB, free: 7.742 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/1.005, allocations: 429.6 kB / 1.152 GB, free: 7.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.646e-05/1.005, allocations: 26.44 kB / 1.152 GB, free: 7.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.005, allocations: 357.7 kB / 1.152 GB, free: 7.105 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/1.007, allocations: 0.5976 MB / 1.153 GB, free: 7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/1.009, allocations: 0.7953 MB / 1.154 GB, free: 6.723 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003418/1.012, allocations: 1.373 MB / 1.155 GB, free: 6.434 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/1.012, allocations: 1.062 kB / 1.155 GB, free: 6.434 MB / 0.698 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004518/1.017, allocations: 1.645 MB / 1.157 GB, free: 6.074 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001327/1.017, allocations: 180.2 kB / 1.157 GB, free: 5.875 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.017, allocations: 2.938 kB / 1.157 GB, free: 5.875 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/1.017, allocations: 38.77 kB / 1.157 GB, free: 5.855 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.019, allocations: 335.6 kB / 1.157 GB, free: 5.773 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/1.02, allocations: 1.299 MB / 1.158 GB, free: 4.469 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/1.021, allocations: 191.7 kB / 1.159 GB, free: 4.379 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.022, allocations: 66.66 kB / 1.159 GB, free: 4.363 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.301e-06/1.022, allocations: 3.156 kB / 1.159 GB, free: 4.363 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003666/1.025, allocations: 1.51 MB / 1.16 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/1.025, allocations: 2.562 kB / 1.16 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/1.025, allocations: 8.781 kB / 1.16 GB, free: 4.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/1.027, allocations: 349 kB / 1.161 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/1.027, allocations: 10.53 kB / 1.161 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/1.029, allocations: 184.6 kB / 1.161 GB, free: 3.922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.029, allocations: 68.47 kB / 1.161 GB, free: 3.902 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 155 * 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 1} Notification: Performance of prepare postOptimizeDAE: time 0.001017/1.03, allocations: 454 kB / 1.161 GB, free: 3.672 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000266/1.03, allocations: 124.5 kB / 1.161 GB, free: 3.609 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004858/1.035, allocations: 1.87 MB / 1.163 GB, free: 3.105 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.59e-05/1.035, allocations: 7.969 kB / 1.163 GB, free: 3.098 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.035, allocations: 2.656 kB / 1.163 GB, free: 3.098 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000871/1.036, allocations: 399.7 kB / 1.164 GB, free: 2.852 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/1.036, allocations: 31.77 kB / 1.164 GB, free: 2.848 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/1.037, allocations: 134.8 kB / 1.164 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/1.038, allocations: 90.69 kB / 1.164 GB, free: 2.773 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004642/1.042, allocations: 1.871 MB / 1.166 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005925/1.048, allocations: 2.723 MB / 1.168 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001763/1.05, allocations: 0.7437 MB / 1.169 GB, free: 412 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009731/1.051, allocations: 0.5959 MB / 1.17 GB, free: 48 kB / 0.698 GB Notification: Performance of Backend: time 6.71e-07/1.051, allocations: 0 / 1.17 GB, free: 48 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007065/1.058, allocations: 2.506 MB / 1.172 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of SimCode: time 0.005736/1.064, allocations: 3.485 MB / 1.175 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of Templates: time 0.05341/1.117, allocations: 30.5 MB / 1.205 GB, free: 15.96 MB / 0.7448 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)