Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.776/1.776, allocations: 292.3 MB / 308.1 MB, free: 4.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 187.7 kB / 376.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.001139, allocations: 98.36 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.001101, allocations: 47.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2836, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.WaterCooled.Examples.VariableSpeed): time 0.8188/1.102, allocations: 301 MB / 1.276 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03796/1.14, allocations: 28.44 MB / 1.304 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004925/1.145, allocations: 70.66 kB / 1.304 GB, free: 7.82 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.005235/1.151, allocations: 1.449 MB / 1.305 GB, free: 7.035 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/1.161, allocations: 3.319 MB / 1.309 GB, free: 4.801 MB / 0.8698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.0102/1.171, allocations: 3.752 MB / 1.312 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.011/1.182, allocations: 7.946 MB / 1.32 GB, free: 9.668 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004089/1.186, allocations: 2.361 MB / 1.322 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006669/1.193, allocations: 2.426 MB / 1.325 GB, free: 4.828 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004135/1.197, allocations: 2.129 MB / 1.327 GB, free: 2.695 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0009322/1.198, allocations: 212 kB / 1.327 GB, free: 2.488 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009331/1.208, allocations: 4.572 MB / 1.331 GB, free: 13.91 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.002304/1.21, allocations: 1.075 MB / 1.333 GB, free: 12.83 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.003395/1.213, allocations: 1.94 MB / 1.334 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.01768/1.231, allocations: 9.863 MB / 1.344 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/1.231, allocations: 0 / 1.344 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.843e-06/1.231, allocations: 0 / 1.344 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001696/1.231, allocations: 0 / 1.344 GB, free: 0.9883 MB / 0.9011 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.01135/1.243, allocations: 4.865 MB / 1.349 GB, free: 12 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.243, allocations: 12.03 kB / 1.349 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02318/1.266, allocations: 2.753 MB / 1.352 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008977/1.275, allocations: 3.77 MB / 1.355 GB, free: 5.391 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009918/1.276, allocations: 453.5 kB / 1.356 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007379/1.277, allocations: 172 kB / 1.356 GB, free: 4.742 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/1.289, allocations: 4.113 MB / 1.36 GB, free: 0.5742 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/1.289, allocations: 4 kB / 1.36 GB, free: 0.5703 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002674/1.289, allocations: 63.98 kB / 1.36 GB, free: 0.5078 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.209e-05/1.289, allocations: 63.02 kB / 1.36 GB, free: 456 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/1.307, allocations: 5.344 MB / 1.365 GB, free: 11.09 MB / 0.9323 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.5357/1.843, allocations: 15.73 MB / 1.381 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02119/1.865, allocations: 5.06 MB / 1.385 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009042/1.874, allocations: 2.458 MB / 1.388 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003021/1.877, allocations: 4.3 MB / 1.392 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01174/1.888, allocations: 2.912 MB / 1.395 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=126): time 9.057e-06/1.888, allocations: 0 / 1.395 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=126): time 0.07814/1.967, allocations: 9.998 MB / 1.405 GB, free: 267.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.967, allocations: 126 kB / 1.405 GB, free: 267.8 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/1.979, allocations: 4.67 MB / 1.409 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/1.98, allocations: 66.08 kB / 1.409 GB, free: 266.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.002011/1.982, allocations: 1.365 MB / 1.411 GB, free: 265.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/1.983, allocations: 407.7 kB / 1.411 GB, free: 264.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001477/1.984, allocations: 408.8 kB / 1.412 GB, free: 264.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001274/1.985, allocations: 364.5 kB / 1.412 GB, free: 264.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0128/1.997, allocations: 2.816 MB / 1.415 GB, free: 263.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0138/2.011, allocations: 3.121 MB / 1.418 GB, free: 262.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2517/2.263, allocations: 52.51 MB / 1.469 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/2.263, allocations: 1.031 kB / 1.469 GB, free: 256.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.05009/2.313, allocations: 8.27 MB / 1.477 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002286/2.313, allocations: 149.2 kB / 1.477 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/2.313, allocations: 3.625 kB / 1.477 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004202/2.318, allocations: 1.038 MB / 1.478 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00486/2.323, allocations: 0.6142 MB / 1.479 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009383/2.332, allocations: 7.204 MB / 1.486 GB, free: 244.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006733/2.339, allocations: 0.6277 MB / 1.486 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007835/2.34, allocations: 103.2 kB / 1.487 GB, free: 244.3 MB / 0.9323 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.01139/2.351, allocations: 3.91 MB / 1.49 GB, free: 242.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009568/2.361, allocations: 3.104 MB / 1.493 GB, free: 240.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1675/2.528, allocations: 52.42 MB / 1.545 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.5e-06/2.528, allocations: 0 / 1.545 GB, free: 190.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=176) (initialization_lambda0): time 0.03798/2.566, allocations: 8.216 MB / 1.553 GB, free: 182.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001497/2.566, allocations: 154.9 kB / 1.553 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/2.566, allocations: 7.938 kB / 1.553 GB, free: 182.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003201/2.57, allocations: 0.9751 MB / 1.554 GB, free: 181.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004399/2.574, allocations: 0.6152 MB / 1.554 GB, free: 180.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006969/2.581, allocations: 6.766 MB / 1.561 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007019/2.588, allocations: 0.5977 MB / 1.561 GB, free: 173.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001058/2.589, allocations: 103.9 kB / 1.562 GB, free: 173 MB / 0.9323 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.001061/2.59, allocations: 328.3 kB / 1.562 GB, free: 172.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001556/2.592, allocations: 320 kB / 1.562 GB, free: 172.3 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03486/2.627, allocations: 7.141 MB / 1.569 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/2.627, allocations: 16 kB / 1.569 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/2.627, allocations: 0 / 1.569 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.062e-05/2.627, allocations: 7.969 kB / 1.569 GB, free: 165.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04146/2.668, allocations: 12.68 MB / 1.582 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/2.668, allocations: 5.688 kB / 1.582 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003901/2.672, allocations: 0.5163 MB / 1.582 GB, free: 151.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/2.674, allocations: 0.7199 MB / 1.583 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004338/2.675, allocations: 63.91 kB / 1.583 GB, free: 151.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004218/2.679, allocations: 3.424 MB / 1.586 GB, free: 147.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/2.679, allocations: 5.969 kB / 1.586 GB, free: 147.6 MB / 0.9323 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4097/3.089, allocations: 82.47 MB / 1.667 GB, free: 64.47 MB / 0.9323 GB Error: post-optimization module symbolicJacobian (simulation) failed.