Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.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.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.24/2.24, allocations: 391.2 MB / 407 MB, free: 10.88 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.001135/0.001135, allocations: 185.5 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.381/1.381, allocations: 222.9 MB / 0.7948 GB, free: 15.9 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.001368/0.001369, allocations: 102.8 kB / 0.9329 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 49.72 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2923, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed): time 0.8788/1.171, allocations: 301 MB / 1.512 GB, free: 18.37 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.03017/1.201, allocations: 28.56 MB / 1.54 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004223/1.206, allocations: 72.38 kB / 1.54 GB, free: 15.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.004322/1.21, allocations: 1.448 MB / 1.541 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.009624/1.22, allocations: 3.333 MB / 1.545 GB, free: 14.09 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.01034/1.23, allocations: 3.727 MB / 1.548 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.009821/1.24, allocations: 7.954 MB / 1.556 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004203/1.244, allocations: 2.363 MB / 1.558 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00641/1.25, allocations: 2.424 MB / 1.561 GB, free: 8.262 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004312/1.255, allocations: 2.126 MB / 1.563 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001212/1.256, allocations: 210.4 kB / 1.563 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009324/1.265, allocations: 4.574 MB / 1.567 GB, free: 5.141 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.001481/1.267, allocations: 1.077 MB / 1.569 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00381/1.271, allocations: 1.941 MB / 1.57 GB, free: 2.922 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0133/1.284, allocations: 9.859 MB / 1.58 GB, free: 9.359 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.284, allocations: 0 / 1.58 GB, free: 9.359 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.575e-06/1.284, allocations: 7.938 kB / 1.58 GB, free: 9.352 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001432/1.284, allocations: 0 / 1.58 GB, free: 9.352 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.01147/1.296, allocations: 4.853 MB / 1.585 GB, free: 4.402 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/1.296, allocations: 11.98 kB / 1.585 GB, free: 4.391 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0223/1.318, allocations: 2.76 MB / 1.587 GB, free: 1.629 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007231/1.325, allocations: 3.755 MB / 1.591 GB, free: 13.88 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009333/1.326, allocations: 461.5 kB / 1.592 GB, free: 13.39 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004293/1.327, allocations: 171.7 kB / 1.592 GB, free: 13.23 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01148/1.338, allocations: 4.117 MB / 1.596 GB, free: 9.055 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/1.338, allocations: 0 / 1.596 GB, free: 9.055 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002559/1.339, allocations: 64 kB / 1.596 GB, free: 8.992 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/1.339, allocations: 59.02 kB / 1.596 GB, free: 8.934 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01744/1.356, allocations: 5.32 MB / 1.601 GB, free: 3.605 MB / 0.948 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.0321/1.388, allocations: 15.74 MB / 1.616 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02053/1.409, allocations: 5.063 MB / 1.621 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0082/1.417, allocations: 2.468 MB / 1.624 GB, free: 12.04 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003506/1.42, allocations: 4.299 MB / 1.628 GB, free: 6.793 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009284/1.43, allocations: 2.912 MB / 1.631 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=126): time 3.857e-06/1.43, allocations: 0 / 1.631 GB, free: 3.867 MB / 0.9792 GB Notification: Performance of matching and sorting (n=126): time 0.05181/1.482, allocations: 9.999 MB / 1.641 GB, free: 9.793 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.482, allocations: 123.8 kB / 1.641 GB, free: 9.648 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01172/1.494, allocations: 4.661 MB / 1.645 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000918/1.494, allocations: 77.69 kB / 1.645 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002307/1.497, allocations: 1.355 MB / 1.647 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.498, allocations: 411.9 kB / 1.647 GB, free: 3.152 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002232/1.5, allocations: 411.2 kB / 1.647 GB, free: 2.742 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.5, allocations: 357.9 kB / 1.648 GB, free: 2.387 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0092/1.51, allocations: 2.82 MB / 1.651 GB, free: 15.56 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/1.52, allocations: 3.113 MB / 1.654 GB, free: 12.37 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1796/1.699, allocations: 52.52 MB / 1.705 GB, free: 7.676 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/1.699, allocations: 3.938 kB / 1.705 GB, free: 7.672 MB / 1.057 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.03967/1.739, allocations: 8.279 MB / 1.713 GB, free: 15.34 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001934/1.739, allocations: 150.8 kB / 1.713 GB, free: 15.17 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.739, allocations: 4 kB / 1.713 GB, free: 15.17 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/1.743, allocations: 1.038 MB / 1.714 GB, free: 14.11 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004591/1.748, allocations: 0.6123 MB / 1.715 GB, free: 13.5 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01018/1.758, allocations: 7.192 MB / 1.722 GB, free: 5.855 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006477/1.764, allocations: 0.619 MB / 1.722 GB, free: 5.234 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007031/1.765, allocations: 107.9 kB / 1.722 GB, free: 5.129 MB / 1.073 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01154/1.777, allocations: 3.909 MB / 1.726 GB, free: 1.211 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00988/1.787, allocations: 3.106 MB / 1.729 GB, free: 14.03 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1737/1.96, allocations: 52.44 MB / 1.781 GB, free: 9.422 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.927e-06/1.96, allocations: 4 kB / 1.781 GB, free: 9.418 MB / 1.135 GB Notification: Performance of matching and sorting (n=176) (initialization_lambda0): time 0.04021/2.001, allocations: 8.209 MB / 1.789 GB, free: 1.16 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001765/2.001, allocations: 158.8 kB / 1.789 GB, free: 0.9805 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/2.001, allocations: 0 / 1.789 GB, free: 0.9805 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003439/2.004, allocations: 0.9798 MB / 1.79 GB, free: 15.98 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004497/2.009, allocations: 0.6161 MB / 1.79 GB, free: 15.37 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008608/2.017, allocations: 6.769 MB / 1.797 GB, free: 8.145 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00661/2.024, allocations: 0.596 MB / 1.797 GB, free: 7.547 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006944/2.025, allocations: 103.9 kB / 1.798 GB, free: 7.445 MB / 1.151 GB Warning: Assuming fixed start value for the following 1 variables: varSpeDX.eva.eva.off:DISCRETE(fixed = true protected = true final = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 28 (varSpeDX.eva.i_x,$PRE.varSpeDX.eva.deaBan.y,$PRE.varSpeDX.eva.eva.off,$PRE.varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],$PRE.varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],$PRE.varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,varSpeDX.eva.deaBan.y,varSpeDX.eva.eva.off,varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTCon[1],varSpeDX.eva.dxCoo.dryCoi.cooCap.checkBoundsTEva[1],varSpeDX.eva.dxCoo.dryCoi.cooCap.stage,varSpeDX.eva.dxCoo.wetCoi.shr.on,varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTCon[1],varSpeDX.eva.dxCoo.wetCoi.cooCap.checkBoundsTEva[1],varSpeDX.eva.dxCoo.wetCoi.cooCap.stage,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(8,3), (1,1), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001123/2.026, allocations: 323 kB / 1.798 GB, free: 7.117 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/2.027, allocations: 312.1 kB / 1.798 GB, free: 6.809 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03759/2.065, allocations: 7.148 MB / 1.805 GB, free: 15.64 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/2.065, allocations: 15.94 kB / 1.805 GB, free: 15.63 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/2.065, allocations: 11.94 kB / 1.805 GB, free: 15.62 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.783e-05/2.065, allocations: 7.969 kB / 1.805 GB, free: 15.61 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04716/2.112, allocations: 12.67 MB / 1.818 GB, free: 2.852 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/2.112, allocations: 8.031 kB / 1.818 GB, free: 2.844 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004155/2.116, allocations: 0.5226 MB / 1.818 GB, free: 2.32 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002312/2.119, allocations: 0.705 MB / 1.819 GB, free: 1.605 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004632/2.119, allocations: 71.89 kB / 1.819 GB, free: 1.535 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004963/2.124, allocations: 3.432 MB / 1.822 GB, free: 13.91 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/2.124, allocations: 11.88 kB / 1.822 GB, free: 13.9 MB / 1.182 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 1.002/3.127, allocations: 82.52 MB / 1.903 GB, free: 0.4996 GB / 1.245 GB Error: post-optimization module symbolicJacobian (simulation) failed.