Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.278/1.278, allocations: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008796/0.0008797, allocations: 184.4 kB / 326.5 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006934/0.0006934, allocations: 99.2 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.000294, allocations: 15.31 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1611, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5835/0.7446, allocations: 297.9 MB / 1.188 GB, free: 4.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.06141/0.8061, allocations: 49.65 MB / 1.236 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01051/0.8166, allocations: 266.2 kB / 1.236 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0104/0.8271, allocations: 2.77 MB / 1.239 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.02468/0.8518, allocations: 8.374 MB / 1.247 GB, free: 9.875 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.01535/0.8671, allocations: 5.863 MB / 1.253 GB, free: 4.043 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.02795/0.8951, allocations: 24.44 MB / 1.277 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007686/0.9028, allocations: 4.619 MB / 1.281 GB, free: 6.816 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01364/0.9165, allocations: 6.303 MB / 1.288 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008162/0.9247, allocations: 4.899 MB / 1.292 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.00129/0.926, allocations: 228 kB / 1.293 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01016/0.9362, allocations: 3.901 MB / 1.296 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.9376, allocations: 1.115 MB / 1.297 GB, free: 6.309 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.004853/0.9424, allocations: 3.283 MB / 1.301 GB, free: 3.008 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.01673/0.9592, allocations: 9.841 MB / 1.31 GB, free: 9.137 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.9592, allocations: 3.938 kB / 1.31 GB, free: 9.133 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9592, allocations: 4 kB / 1.31 GB, free: 9.129 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002926/0.9595, allocations: 0 / 1.31 GB, free: 9.129 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01077/0.9703, allocations: 6.163 MB / 1.316 GB, free: 2.828 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.9704, allocations: 8.031 kB / 1.316 GB, free: 2.82 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002527/0.9729, allocations: 0.7881 MB / 1.317 GB, free: 2.023 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008488/0.9814, allocations: 5.138 MB / 1.322 GB, free: 12.8 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.9816, allocations: 328.1 kB / 1.322 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004728/0.9821, allocations: 435.9 kB / 1.323 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006352/0.9885, allocations: 4.35 MB / 1.327 GB, free: 7.426 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.231e-05/0.9886, allocations: 19.78 kB / 1.327 GB, free: 7.406 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002919/0.9889, allocations: 176 kB / 1.327 GB, free: 7.234 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-05/0.989, allocations: 120 kB / 1.327 GB, free: 7.117 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004779/0.9937, allocations: 2.968 MB / 1.33 GB, free: 4.145 MB / 0.8386 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.02292/1.017, allocations: 24.98 MB / 1.355 GB, free: 9.125 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/1.02, allocations: 2.765 MB / 1.357 GB, free: 6.141 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/1.021, allocations: 1.007 MB / 1.358 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003104/1.024, allocations: 3.923 MB / 1.362 GB, free: 356 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.477e-05/1.024, allocations: 60.56 kB / 1.362 GB, free: 284 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=217): time 4.939e-06/1.024, allocations: 4 kB / 1.362 GB, free: 280 kB / 0.8698 GB Notification: Performance of matching and sorting (n=217): time 0.01015/1.034, allocations: 4.111 MB / 1.366 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/1.034, allocations: 77.41 kB / 1.366 GB, free: 11.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006538/1.041, allocations: 4.195 MB / 1.37 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002281/1.041, allocations: 81.7 kB / 1.37 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002105/1.043, allocations: 2.774 MB / 1.373 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007227/1.044, allocations: 0.7547 MB / 1.374 GB, free: 4.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002859/1.044, allocations: 231.6 kB / 1.374 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.201e-05/1.044, allocations: 309.1 kB / 1.374 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.046, allocations: 0.8177 MB / 1.375 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/1.048, allocations: 1.834 MB / 1.377 GB, free: 0.5352 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/1.052, allocations: 2.525 MB / 1.379 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.879e-05/1.052, allocations: 8 kB / 1.379 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007774/1.059, allocations: 3.566 MB / 1.383 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004877/1.06, allocations: 0.738 MB / 1.384 GB, free: 8.992 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.508e-05/1.06, allocations: 24 kB / 1.384 GB, free: 8.969 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00257/1.063, allocations: 0.5925 MB / 1.384 GB, free: 8.363 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/1.064, allocations: 0.5538 MB / 1.385 GB, free: 7.809 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/1.066, allocations: 2.693 MB / 1.387 GB, free: 5.012 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004123/1.07, allocations: 0.618 MB / 1.388 GB, free: 4.391 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/1.07, allocations: 132 kB / 1.388 GB, free: 4.262 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/1.07, allocations: 7.938 kB / 1.388 GB, free: 4.254 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00508/1.076, allocations: 2.829 MB / 1.391 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.441e-05/1.076, allocations: 24.25 kB / 1.391 GB, free: 1.348 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009742/1.077, allocations: 371 kB / 1.391 GB, free: 0.9727 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.078, allocations: 0.5577 MB / 1.392 GB, free: 424 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007897/1.086, allocations: 7.71 MB / 1.399 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/1.091, allocations: 0.5749 MB / 1.4 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000354/1.091, allocations: 132 kB / 1.4 GB, free: 7.41 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.002161/1.093, allocations: 0.9928 MB / 1.401 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001479/1.095, allocations: 0.5017 MB / 1.402 GB, free: 5.898 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006361/1.101, allocations: 3.588 MB / 1.405 GB, free: 2.242 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3665/1.467, allocations: 2.443 MB / 1.407 GB, free: 352.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-05/1.467, allocations: 0.5625 kB / 1.407 GB, free: 352.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003166/1.471, allocations: 0.8677 MB / 1.408 GB, free: 352.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001383/1.472, allocations: 44.31 kB / 1.408 GB, free: 352.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003727/1.476, allocations: 371.2 kB / 1.409 GB, free: 352.5 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004302/1.476, allocations: 188.4 kB / 1.409 GB, free: 352.5 MB / 0.9167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005684/1.482, allocations: 2.886 MB / 1.412 GB, free: 352.3 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006765/1.489, allocations: 4.105 MB / 1.416 GB, free: 352 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001662/1.49, allocations: 1.052 MB / 1.417 GB, free: 351.9 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.004868/1.495, allocations: 2.775 MB / 1.419 GB, free: 351.8 MB / 0.9167 GB Notification: Performance of Backend: time 4.81e-07/1.495, allocations: 0 / 1.419 GB, free: 351.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01009/1.505, allocations: 5.261 MB / 1.425 GB, free: 350.6 MB / 0.9167 GB Notification: Performance of SimCode: time 0.01997/1.525, allocations: 13.62 MB / 1.438 GB, free: 343.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.1416/1.667, allocations: 106.6 MB / 1.542 GB, free: 251.3 MB / 0.9167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)