Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass.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.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") translateModel(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.069/2.069, 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.001087/0.001087, allocations: 198.7 kB / 499.1 MB, free: 4.672 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.292/1.292, allocations: 222.9 MB / 0.7948 GB, free: 15.8 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.0009341/0.000934, allocations: 119.5 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009872/0.0009873, allocations: 51.31 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2086, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Subsystems.Examples.CoolingTowersWithBypass): time 0.7003/0.9089, allocations: 269.3 MB / 1.481 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.04131/0.9503, allocations: 34.53 MB / 1.515 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007526/0.9578, allocations: 146.9 kB / 1.515 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.005716/0.9636, allocations: 1.674 MB / 1.517 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.01457/0.9782, allocations: 5.203 MB / 1.522 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.009932/0.9882, allocations: 3.919 MB / 1.525 GB, free: 9.004 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.01886/1.007, allocations: 15.8 MB / 1.541 GB, free: 4.855 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008727/1.016, allocations: 5.141 MB / 1.546 GB, free: 2.438 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008862/1.025, allocations: 4.062 MB / 1.55 GB, free: 0.793 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006941/1.032, allocations: 3.76 MB / 1.554 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.002082/1.034, allocations: 305.5 kB / 1.554 GB, free: 14.83 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01102/1.045, allocations: 3.802 MB / 1.558 GB, free: 13.13 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.002729/1.048, allocations: 1.317 MB / 1.559 GB, free: 12 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.007259/1.055, allocations: 2.946 MB / 1.562 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01847/1.073, allocations: 11.77 MB / 1.573 GB, free: 13.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/1.073, allocations: 0 / 1.573 GB, free: 13.68 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.984e-06/1.073, allocations: 0 / 1.573 GB, free: 13.68 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004026/1.074, allocations: 4 kB / 1.573 GB, free: 13.68 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 896 * Number of variables: 896 Notification: Performance of Generate backend data structure: time 0.01869/1.093, allocations: 7.084 MB / 1.58 GB, free: 6.547 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/1.093, allocations: 11.98 kB / 1.58 GB, free: 6.535 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/1.098, allocations: 1.306 MB / 1.581 GB, free: 5.223 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01044/1.108, allocations: 5.543 MB / 1.587 GB, free: 15.72 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/1.108, allocations: 285.8 kB / 1.587 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007337/1.109, allocations: 379.9 kB / 1.588 GB, free: 15.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008089/1.117, allocations: 5.025 MB / 1.592 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.764e-05/1.117, allocations: 4 kB / 1.592 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/1.118, allocations: 151.9 kB / 1.593 GB, free: 9.781 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/1.118, allocations: 134.8 kB / 1.593 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008548/1.126, allocations: 5.28 MB / 1.598 GB, free: 4.359 MB / 0.9636 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.02864/1.155, allocations: 20.16 MB / 1.618 GB, free: 15.49 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00614/1.161, allocations: 3.973 MB / 1.621 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003052/1.164, allocations: 2.038 MB / 1.623 GB, free: 9.457 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01383/1.178, allocations: 9.934 MB / 1.633 GB, free: 14.8 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003607/1.182, allocations: 2.273 MB / 1.635 GB, free: 12.48 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002303/1.184, allocations: 0.5621 MB / 1.636 GB, free: 11.92 MB / 1.01 GB Notification: Performance of pre-optimization done (n=271): time 6.232e-06/1.184, allocations: 0 / 1.636 GB, free: 11.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=271): time 0.0217/1.206, allocations: 8.968 MB / 1.645 GB, free: 2.805 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.206, allocations: 265.4 kB / 1.645 GB, free: 2.488 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008176/1.214, allocations: 4.836 MB / 1.65 GB, free: 13.66 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0006627/1.215, allocations: 89.7 kB / 1.65 GB, free: 13.56 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.002204/1.217, allocations: 2.212 MB / 1.652 GB, free: 11.34 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.218, allocations: 0.9297 MB / 1.653 GB, free: 10.42 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001692/1.22, allocations: 0.7298 MB / 1.653 GB, free: 9.684 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 7.403e-05/1.22, allocations: 305.1 kB / 1.654 GB, free: 9.383 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003358/1.223, allocations: 1.996 MB / 1.656 GB, free: 7.379 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00421/1.227, allocations: 3.015 MB / 1.659 GB, free: 4.078 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006952/1.234, allocations: 4.477 MB / 1.663 GB, free: 15.37 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-05/1.234, allocations: 4 kB / 1.663 GB, free: 15.36 MB / 1.042 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.01172/1.246, allocations: 5.937 MB / 1.669 GB, free: 9.371 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/1.246, allocations: 9.25 kB / 1.669 GB, free: 9.363 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/1.246, allocations: 24.08 kB / 1.669 GB, free: 9.34 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468/3.715, allocations: 339.2 MB / 2 GB, free: 455.9 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/3.718, allocations: 0.7722 MB / 2.001 GB, free: 455.2 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005174/3.723, allocations: 5.637 MB / 2.006 GB, free: 449.9 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00472/3.728, allocations: 439 kB / 2.007 GB, free: 449.6 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007834/3.729, allocations: 167.3 kB / 2.007 GB, free: 449.4 MB / 1.26 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00585/3.735, allocations: 3.24 MB / 2.01 GB, free: 446.2 MB / 1.26 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003943/3.739, allocations: 2.933 MB / 2.013 GB, free: 443 MB / 1.26 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006401/3.745, allocations: 4.332 MB / 2.017 GB, free: 438.4 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.435e-05/3.745, allocations: 7.938 kB / 2.017 GB, free: 438.4 MB / 1.26 GB Notification: Performance of matching and sorting (n=418) (initialization_lambda0): time 0.01078/3.756, allocations: 5.744 MB / 2.023 GB, free: 432.9 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/3.756, allocations: 12.94 kB / 2.023 GB, free: 432.8 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.409e-05/3.756, allocations: 19.75 kB / 2.023 GB, free: 432.8 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912/5.668, allocations: 339.1 MB / 2.354 GB, free: 93.2 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003282/5.671, allocations: 0.7527 MB / 2.355 GB, free: 92.45 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00589/5.677, allocations: 6.853 MB / 2.361 GB, free: 85.25 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004847/5.682, allocations: 461.7 kB / 2.362 GB, free: 84.82 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007586/5.683, allocations: 159.9 kB / 2.362 GB, free: 84.66 MB / 1.26 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 14 (tow.cooTowSpeCon.con1.y,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,onOffCon.y,$PRE.onOffCon.y,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,tow.hys.y,$PRE.tow.hys.y,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (394): * Single equations (assignments): 387 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * 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): 6 systems {(1,6), (1,6), (1,1), (1,1), (3,5), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001324/5.684, allocations: 382.9 kB / 2.362 GB, free: 84.29 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001662/5.686, allocations: 473.9 kB / 2.363 GB, free: 84.07 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01124/5.697, allocations: 5.559 MB / 2.368 GB, free: 78.52 MB / 1.26 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.583e-05/5.697, allocations: 35.98 kB / 2.368 GB, free: 78.48 MB / 1.26 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.016e-05/5.697, allocations: 0 / 2.368 GB, free: 78.48 MB / 1.26 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008775/5.706, allocations: 4.42 MB / 2.373 GB, free: 74 MB / 1.26 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 postOpt removeSimpleEquations (simulation): time 0.02156/5.728, allocations: 11.36 MB / 2.384 GB, free: 62.62 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/5.728, allocations: 0 / 2.384 GB, free: 62.62 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002248/5.73, allocations: 0.5384 MB / 2.384 GB, free: 62.08 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467/7.197, allocations: 147 MB / 2.528 GB, free: 472.2 MB / 1.26 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007821/7.198, allocations: 95.56 kB / 2.528 GB, free: 472.1 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004504/7.202, allocations: 4.475 MB / 2.532 GB, free: 468 MB / 1.26 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/7.202, allocations: 4.641 kB / 2.532 GB, free: 468 MB / 1.26 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 4.869/12.07, allocations: 0.7656 GB / 3.298 GB, free: 236.5 MB / 1.26 GB Error: post-optimization module symbolicJacobian (simulation) failed.