Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 391.2 MB / 407 MB, free: 10.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 191.4 kB / 499.1 MB, free: 4.621 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 222.9 MB / 0.7948 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 103.8 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 55.72 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3071, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007851/0.315, allocations: 6.187 MB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1522/0.4672, allocations: 150.9 MB / 1.371 GB, free: 7.59 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001869/0.4691, allocations: 31.81 kB / 1.372 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.4707, allocations: 250 kB / 1.372 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.4747, allocations: 0.5516 MB / 1.372 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004603/0.4793, allocations: 1.158 MB / 1.373 GB, free: 5.617 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003834/0.4831, allocations: 2.176 MB / 1.376 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/0.4852, allocations: 1.036 MB / 1.377 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.4866, allocations: 0.6652 MB / 1.377 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.488, allocations: 0.74 MB / 1.378 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.4885, allocations: 88 kB / 1.378 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.4905, allocations: 0.8153 MB / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005884/0.4911, allocations: 394.4 kB / 1.379 GB, free: 15.66 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.4923, allocations: 0.796 MB / 1.38 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.0034/0.4957, allocations: 2.551 MB / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4957, allocations: 0 / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 8.72e-07/0.4957, allocations: 0 / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.09e-05/0.4958, allocations: 0 / 1.382 GB, free: 12.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.004754/0.5006, allocations: 2.17 MB / 1.385 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.5006, allocations: 15.98 kB / 1.385 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.5024, allocations: 354.3 kB / 1.385 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.5043, allocations: 1.196 MB / 1.386 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/0.5044, allocations: 106.7 kB / 1.386 GB, free: 8.348 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.5046, allocations: 128 kB / 1.386 GB, free: 8.223 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.5072, allocations: 1.52 MB / 1.388 GB, free: 6.609 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.5072, allocations: 4 kB / 1.388 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/0.5074, allocations: 52 kB / 1.388 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.5074, allocations: 36 kB / 1.388 GB, free: 6.52 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00329/0.5107, allocations: 2.043 MB / 1.39 GB, free: 4.473 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006983/0.5177, allocations: 4.439 MB / 1.394 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002749/0.5205, allocations: 1.431 MB / 1.396 GB, free: 14.5 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.5215, allocations: 0.5321 MB / 1.396 GB, free: 13.96 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.5216, allocations: 61.17 kB / 1.396 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.5231, allocations: 0.7924 MB / 1.397 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=136): time 3.487e-06/0.5232, allocations: 0 / 1.397 GB, free: 13.08 MB / 0.9011 GB Notification: Performance of matching and sorting (n=136): time 0.005697/0.5289, allocations: 2.107 MB / 1.399 GB, free: 10.93 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.5291, allocations: 351.2 kB / 1.399 GB, free: 10.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.5305, allocations: 1.075 MB / 1.4 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.5307, allocations: 49.7 kB / 1.4 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004979/0.5312, allocations: 0.6144 MB / 1.401 GB, free: 8.742 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003696/0.5315, allocations: 453.4 kB / 1.401 GB, free: 8.293 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004219/0.532, allocations: 286.7 kB / 1.402 GB, free: 8.004 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5321, allocations: 361.8 kB / 1.402 GB, free: 7.645 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009873/0.5331, allocations: 478.3 kB / 1.403 GB, free: 7.18 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.5343, allocations: 0.6535 MB / 1.403 GB, free: 6.484 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/0.5365, allocations: 1.112 MB / 1.404 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.5365, allocations: 0 / 1.404 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003635/0.5401, allocations: 1.531 MB / 1.406 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.5402, allocations: 7.938 kB / 1.406 GB, free: 3.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5402, allocations: 4 kB / 1.406 GB, free: 3.777 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.5413, allocations: 165.8 kB / 1.406 GB, free: 3.609 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.5424, allocations: 291.6 kB / 1.406 GB, free: 3.324 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/0.5464, allocations: 3.064 MB / 1.409 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.548, allocations: 169.6 kB / 1.409 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.5482, allocations: 67.94 kB / 1.409 GB, free: 15.75 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008292/0.549, allocations: 385 kB / 1.41 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000309/0.5494, allocations: 146.2 kB / 1.41 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/0.554, allocations: 1.976 MB / 1.412 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.831e-05/0.5541, allocations: 16 kB / 1.412 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.5541, allocations: 0 / 1.412 GB, free: 13.21 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.5541, allocations: 7.969 kB / 1.412 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/0.5561, allocations: 1.472 MB / 1.413 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5561, allocations: 0 / 1.413 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.5572, allocations: 279.6 kB / 1.414 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009862/0.5582, allocations: 161.5 kB / 1.414 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.5583, allocations: 43.97 kB / 1.414 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/0.5619, allocations: 3.115 MB / 1.417 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5619, allocations: 4.031 kB / 1.417 GB, free: 7.809 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005649/0.5676, allocations: 3.087 MB / 1.42 GB, free: 4.656 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006785/0.5683, allocations: 422.7 kB / 1.42 GB, free: 4.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/0.5685, allocations: 35.94 kB / 1.42 GB, free: 4.188 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009585/0.5694, allocations: 111.9 kB / 1.42 GB, free: 4.078 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002364/0.5697, allocations: 113.8 kB / 1.421 GB, free: 3.969 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.5698, allocations: 59.97 kB / 1.421 GB, free: 3.91 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001024/0.5709, allocations: 0.7494 MB / 1.421 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5709, allocations: 0 / 1.421 GB, free: 3.156 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001335/0.5722, allocations: 478.9 kB / 1.422 GB, free: 2.688 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/0.5736, allocations: 0.6435 MB / 1.422 GB, free: 2.223 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00318/0.5768, allocations: 1.511 MB / 1.424 GB, free: 0.6875 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.5769, allocations: 0 / 1.424 GB, free: 0.6875 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.5292/1.106, allocations: 0.9431 MB / 1.425 GB, free: 202.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/1.109, allocations: 0.4964 MB / 1.425 GB, free: 202.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007938/1.117, allocations: 4.528 MB / 1.43 GB, free: 200.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009491/1.118, allocations: 1.332 MB / 1.431 GB, free: 199.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001956/1.12, allocations: 0.4967 MB / 1.431 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004575/1.12, allocations: 183.1 kB / 1.432 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of SimCode: time 8.31e-07/1.12, allocations: 4 kB / 1.432 GB, free: 199.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.04901/1.169, allocations: 25.3 MB / 1.456 GB, free: 190.2 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)