Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.System1.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.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.System1") translateModel(Buildings.Examples.Tutorial.CDL.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.CDL.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001061, allocations: 112.9 kB / 16.38 MB, free: 6.012 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.001003/0.001003, allocations: 192.6 kB / 17.31 MB, free: 5.625 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.325/1.325, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.84/1.84, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.001481/0.001482, allocations: 67.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2441, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.System1): time 1.452/1.696, allocations: 0.5117 GB / 1.296 GB, free: 47.39 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.08455/1.78, allocations: 73.12 MB / 1.368 GB, free: 8.859 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01651/1.797, allocations: 417.2 kB / 1.368 GB, free: 8.609 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01457/1.811, allocations: 5.115 MB / 1.373 GB, free: 5.102 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.03705/1.849, allocations: 13.4 MB / 1.386 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.02932/1.878, allocations: 11.84 MB / 1.398 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.04506/1.923, allocations: 31.75 MB / 1.429 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0219/1.945, allocations: 11.87 MB / 1.441 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02768/1.973, allocations: 11.9 MB / 1.452 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01763/1.99, allocations: 8.969 MB / 1.461 GB, free: 11.84 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.004797/1.995, allocations: 1.156 MB / 1.462 GB, free: 10.68 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01788/2.013, allocations: 6.408 MB / 1.468 GB, free: 4.266 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006006/2.019, allocations: 3.267 MB / 1.471 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01424/2.033, allocations: 6.695 MB / 1.478 GB, free: 10.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.03668/2.07, allocations: 19.32 MB / 1.497 GB, free: 6.887 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.877e-06/2.07, allocations: 4 kB / 1.497 GB, free: 6.883 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.614e-06/2.07, allocations: 0 / 1.497 GB, free: 6.883 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0006715/2.071, allocations: 0 / 1.497 GB, free: 6.883 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: 1794 * Number of variables: 1794 Notification: Performance of Generate backend data structure: time 0.03617/2.107, allocations: 13.06 MB / 1.51 GB, free: 9.695 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/2.107, allocations: 12.03 kB / 1.51 GB, free: 9.684 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/2.118, allocations: 1.991 MB / 1.512 GB, free: 7.676 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02377/2.142, allocations: 10.07 MB / 1.521 GB, free: 13.5 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006889/2.143, allocations: 0.5488 MB / 1.522 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002537/2.146, allocations: 0.7381 MB / 1.523 GB, free: 12.21 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02304/2.169, allocations: 8.4 MB / 1.531 GB, free: 3.484 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003227/2.169, allocations: 19.83 kB / 1.531 GB, free: 3.465 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00186/2.171, allocations: 304 kB / 1.531 GB, free: 3.168 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003037/2.171, allocations: 281.3 kB / 1.531 GB, free: 2.891 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01962/2.191, allocations: 6.809 MB / 1.538 GB, free: 12.07 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.8246/3.015, allocations: 40.34 MB / 1.578 GB, free: 431.3 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008749/3.024, allocations: 4.544 MB / 1.582 GB, free: 429 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004293/3.029, allocations: 2.284 MB / 1.584 GB, free: 428.1 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.02577/3.054, allocations: 10.12 MB / 1.594 GB, free: 422.6 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004854/3.059, allocations: 2.406 MB / 1.596 GB, free: 421.7 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003729/3.063, allocations: 352.1 kB / 1.597 GB, free: 421.7 MB / 1.092 GB Notification: Performance of pre-optimization done (n=388): time 1.71e-05/3.063, allocations: 1.156 kB / 1.597 GB, free: 421.7 MB / 1.092 GB Notification: Performance of matching and sorting (n=397): time 0.04124/3.104, allocations: 14.31 MB / 1.611 GB, free: 415.5 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000254/3.105, allocations: 0.5044 MB / 1.611 GB, free: 414.9 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01793/3.123, allocations: 8.198 MB / 1.619 GB, free: 412.1 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/3.124, allocations: 125.5 kB / 1.619 GB, free: 412 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.005517/3.13, allocations: 4.906 MB / 1.624 GB, free: 408.2 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.002141/3.132, allocations: 1.389 MB / 1.625 GB, free: 407.1 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002324/3.134, allocations: 1.146 MB / 1.627 GB, free: 406.6 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 6.522e-05/3.134, allocations: 301.1 kB / 1.627 GB, free: 406.3 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004618/3.139, allocations: 2.185 MB / 1.629 GB, free: 405.5 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006084/3.145, allocations: 3.907 MB / 1.633 GB, free: 402.3 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009468/3.154, allocations: 5.75 MB / 1.638 GB, free: 398.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-05/3.154, allocations: 11.34 kB / 1.638 GB, free: 398.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=711) (initialization): time 0.01846/3.173, allocations: 7.837 MB / 1.646 GB, free: 394.8 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/3.173, allocations: 23.53 kB / 1.646 GB, free: 394.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.617e-05/3.173, allocations: 49.31 kB / 1.646 GB, free: 394.8 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008741/3.182, allocations: 1.776 MB / 1.648 GB, free: 394.1 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005147/3.187, allocations: 1.184 MB / 1.649 GB, free: 393.8 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009218/3.196, allocations: 8.241 MB / 1.657 GB, free: 386.4 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009602/3.206, allocations: 349.9 kB / 1.657 GB, free: 386.2 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/3.207, allocations: 269.3 kB / 1.658 GB, free: 386.2 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01078/3.218, allocations: 3.964 MB / 1.662 GB, free: 384 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006786/3.225, allocations: 3.804 MB / 1.665 GB, free: 380.8 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009461/3.235, allocations: 5.541 MB / 1.671 GB, free: 377 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.732e-05/3.235, allocations: 10.25 kB / 1.671 GB, free: 377 MB / 1.092 GB Notification: Performance of matching and sorting (n=711) (initialization_lambda0): time 0.01885/3.254, allocations: 7.473 MB / 1.678 GB, free: 373.3 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/3.254, allocations: 23.88 kB / 1.678 GB, free: 373.3 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.943e-05/3.254, allocations: 49.27 kB / 1.678 GB, free: 373.3 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008041/3.262, allocations: 1.568 MB / 1.68 GB, free: 372.6 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004748/3.267, allocations: 1.16 MB / 1.681 GB, free: 371.5 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/3.279, allocations: 10.55 MB / 1.691 GB, free: 360.4 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009076/3.288, allocations: 370.5 kB / 1.691 GB, free: 360 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001328/3.29, allocations: 260.5 kB / 1.692 GB, free: 359.8 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 179 * 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 (646): * Single equations (assignments): 630 * 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.002291/3.292, allocations: 0.5253 MB / 1.692 GB, free: 359.2 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003257/3.295, allocations: 0.8912 MB / 1.693 GB, free: 358.3 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/3.306, allocations: 5.862 MB / 1.699 GB, free: 352.5 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007078/3.314, allocations: 4.367 MB / 1.703 GB, free: 348.1 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/3.314, allocations: 0 / 1.703 GB, free: 348.1 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005204/3.319, allocations: 1.517 MB / 1.705 GB, free: 346.5 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002946/3.322, allocations: 95.94 kB / 1.705 GB, free: 346.4 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007024/3.329, allocations: 254.5 kB / 1.705 GB, free: 346.2 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001016/3.33, allocations: 311 kB / 1.705 GB, free: 345.9 MB / 1.092 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01203/3.342, allocations: 5.46 MB / 1.71 GB, free: 340.5 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01228/3.354, allocations: 7.504 MB / 1.718 GB, free: 332.9 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003033/3.357, allocations: 2.035 MB / 1.72 GB, free: 330.9 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0106/3.368, allocations: 5.432 MB / 1.725 GB, free: 325.5 MB / 1.092 GB Notification: Performance of Backend: time 1.232e-06/3.368, allocations: 4 kB / 1.725 GB, free: 325.4 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.03177/3.4, allocations: 11.17 MB / 1.736 GB, free: 315 MB / 1.092 GB Notification: Performance of SimCode: time 0.04391/3.444, allocations: 21.81 MB / 1.757 GB, free: 293.4 MB / 1.092 GB Notification: Performance of Templates: time 0.257/3.701, allocations: 200.3 MB / 1.953 GB, free: 95.11 MB / 1.092 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.CDL.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.CDL.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.CDL.System1.pipe 2>&1)