Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.System2.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Examples.Tutorial.CDL.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.System2") translateModel(Buildings.Examples.Tutorial.CDL.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 105.2 kB / 16.36 MB, free: 6.312 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.001736/0.001736, allocations: 189.5 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.781/1.781, allocations: 292.3 MB / 0.5496 GB, free: 17.59 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001593/0.001594, allocations: 63.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2426, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System2): time 1.397/1.64, allocations: 0.5119 GB / 1.297 GB, free: 47.44 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.08475/1.725, allocations: 73.15 MB / 1.368 GB, free: 8.598 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01481/1.74, allocations: 423.2 kB / 1.369 GB, free: 8.344 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01372/1.753, allocations: 5.117 MB / 1.374 GB, free: 4.836 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.1.4-maint.8.1.x/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.03703/1.79, allocations: 13.4 MB / 1.387 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.03107/1.822, allocations: 11.86 MB / 1.398 GB, free: 12.19 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.04506/1.867, allocations: 31.8 MB / 1.429 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02184/1.888, allocations: 11.92 MB / 1.441 GB, free: 304 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02596/1.914, allocations: 11.92 MB / 1.453 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01686/1.931, allocations: 8.993 MB / 1.461 GB, free: 11.36 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004518/1.936, allocations: 1.16 MB / 1.462 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01931/1.955, allocations: 6.416 MB / 1.469 GB, free: 3.77 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.007687/1.963, allocations: 3.278 MB / 1.472 GB, free: 492 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01702/1.98, allocations: 6.718 MB / 1.478 GB, free: 9.727 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.03608/2.016, allocations: 19.38 MB / 1.497 GB, free: 6.293 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/2.016, allocations: 0 / 1.497 GB, free: 6.293 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.225e-06/2.016, allocations: 4 kB / 1.497 GB, free: 6.289 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0005727/2.017, allocations: 0 / 1.497 GB, free: 6.289 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1811 * Number of variables: 1811 Notification: Performance of Generate backend data structure: time 0.0301/2.047, allocations: 13.12 MB / 1.51 GB, free: 9.043 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/2.047, allocations: 12.03 kB / 1.51 GB, free: 9.031 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/2.058, allocations: 2.003 MB / 1.512 GB, free: 7.012 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02399/2.082, allocations: 10.08 MB / 1.522 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006002/2.083, allocations: 0.5567 MB / 1.523 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003226/2.086, allocations: 0.742 MB / 1.523 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02471/2.111, allocations: 8.446 MB / 1.532 GB, free: 2.758 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000411/2.111, allocations: 31.75 kB / 1.532 GB, free: 2.727 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002129/2.114, allocations: 304 kB / 1.532 GB, free: 2.43 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003163/2.114, allocations: 281.4 kB / 1.532 GB, free: 2.152 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01844/2.132, allocations: 6.844 MB / 1.539 GB, free: 11.29 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7769/2.909, allocations: 40.55 MB / 1.578 GB, free: 430.2 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008045/2.917, allocations: 4.555 MB / 1.583 GB, free: 427.9 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/2.921, allocations: 2.278 MB / 1.585 GB, free: 427 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.02437/2.946, allocations: 10.15 MB / 1.595 GB, free: 421.5 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005047/2.951, allocations: 2.408 MB / 1.597 GB, free: 420.6 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003952/2.955, allocations: 357.2 kB / 1.598 GB, free: 420.6 MB / 1.092 GB Notification: Performance of pre-optimization done (n=388): time 2.007e-05/2.955, allocations: 0 / 1.598 GB, free: 420.6 MB / 1.092 GB Notification: Performance of matching and sorting (n=397): time 0.03891/2.994, allocations: 14.34 MB / 1.612 GB, free: 414.4 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/2.994, allocations: 0.5035 MB / 1.612 GB, free: 413.8 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01976/3.014, allocations: 8.25 MB / 1.62 GB, free: 411 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001416/3.015, allocations: 132.8 kB / 1.62 GB, free: 410.9 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.004784/3.02, allocations: 4.944 MB / 1.625 GB, free: 407 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.001948/3.022, allocations: 1.386 MB / 1.627 GB, free: 406 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002016/3.024, allocations: 1.146 MB / 1.628 GB, free: 405.5 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 4.733e-05/3.024, allocations: 304.8 kB / 1.628 GB, free: 405.2 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004446/3.028, allocations: 2.189 MB / 1.63 GB, free: 404.2 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005443/3.034, allocations: 3.895 MB / 1.634 GB, free: 401 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008628/3.043, allocations: 5.733 MB / 1.639 GB, free: 397.2 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.748e-05/3.043, allocations: 11.75 kB / 1.639 GB, free: 397.2 MB / 1.092 GB Notification: Performance of matching and sorting (n=712) (initialization): time 0.01935/3.062, allocations: 8.16 MB / 1.647 GB, free: 393.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/3.062, allocations: 30.38 kB / 1.647 GB, free: 393.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.494e-05/3.062, allocations: 39.5 kB / 1.648 GB, free: 393.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008345/3.07, allocations: 1.76 MB / 1.649 GB, free: 392.6 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004682/3.075, allocations: 1.19 MB / 1.65 GB, free: 392.3 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009194/3.084, allocations: 8.278 MB / 1.658 GB, free: 384.9 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008513/3.093, allocations: 348.5 kB / 1.659 GB, free: 384.8 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001229/3.094, allocations: 265.4 kB / 1.659 GB, free: 384.7 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009438/3.104, allocations: 3.99 MB / 1.663 GB, free: 382.5 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005598/3.109, allocations: 3.789 MB / 1.667 GB, free: 379.3 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008903/3.118, allocations: 5.525 MB / 1.672 GB, free: 375.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.306e-05/3.118, allocations: 10.31 kB / 1.672 GB, free: 375.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=712) (initialization_lambda0): time 0.02141/3.14, allocations: 7.78 MB / 1.68 GB, free: 371.7 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.471e-05/3.14, allocations: 21.31 kB / 1.68 GB, free: 371.7 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.44e-05/3.14, allocations: 46.92 kB / 1.68 GB, free: 371.7 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007885/3.148, allocations: 1.568 MB / 1.681 GB, free: 370.9 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004854/3.153, allocations: 1.158 MB / 1.682 GB, free: 369.7 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/3.164, allocations: 10.42 MB / 1.693 GB, free: 358.7 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008337/3.172, allocations: 374.6 kB / 1.693 GB, free: 358.3 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001074/3.173, allocations: 255.9 kB / 1.693 GB, free: 358.1 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (647): * Single equations (assignments): 631 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,7), (13,22), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002282/3.175, allocations: 0.5196 MB / 1.694 GB, free: 357.6 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003707/3.179, allocations: 0.8966 MB / 1.695 GB, free: 356.7 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/3.193, allocations: 5.859 MB / 1.7 GB, free: 350.8 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007464/3.2, allocations: 4.372 MB / 1.705 GB, free: 346.4 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/3.2, allocations: 1.859 kB / 1.705 GB, free: 346.4 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005006/3.205, allocations: 1.524 MB / 1.706 GB, free: 344.8 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002972/3.208, allocations: 95.98 kB / 1.706 GB, free: 344.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006482/3.215, allocations: 256.1 kB / 1.706 GB, free: 344.5 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000901/3.216, allocations: 315 kB / 1.707 GB, free: 344.2 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01265/3.228, allocations: 5.458 MB / 1.712 GB, free: 338.8 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01455/3.243, allocations: 7.52 MB / 1.719 GB, free: 331.2 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003228/3.246, allocations: 2.035 MB / 1.721 GB, free: 329.2 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.01127/3.258, allocations: 5.48 MB / 1.727 GB, free: 323.7 MB / 1.092 GB Notification: Performance of Backend: time 1.132e-06/3.258, allocations: 0 / 1.727 GB, free: 323.7 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.03369/3.291, allocations: 11.2 MB / 1.738 GB, free: 313.2 MB / 1.092 GB Notification: Performance of SimCode: time 0.04674/3.338, allocations: 21.88 MB / 1.759 GB, free: 291.6 MB / 1.092 GB Notification: Performance of Templates: time 0.2533/3.591, allocations: 200.7 MB / 1.955 GB, free: 92.85 MB / 1.092 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.System2.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.System2.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.System2.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.System2.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.System2.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.System2.pipe 2>&1)