Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.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.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.175/2.175, allocations: 391.2 MB / 407 MB, free: 10.84 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.001289/0.001288, allocations: 199.4 kB / 499.1 MB, free: 4.676 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.383/1.383, allocations: 222.9 MB / 0.7948 GB, free: 15.79 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.001056/0.001056, allocations: 107.7 kB / 0.9329 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001043, allocations: 55.03 kB / 1.081 GB, free: 218 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2469, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.003187/0.2501, allocations: 2.453 MB / 1.221 GB, free: 114.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.132/0.3822, allocations: 148.7 MB / 1.366 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.3825, allocations: 4 kB / 1.366 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004239/0.383, allocations: 87.55 kB / 1.366 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0007545/0.3838, allocations: 198.9 kB / 1.366 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001736/0.3855, allocations: 0.589 MB / 1.367 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.3861, allocations: 418.5 kB / 1.367 GB, free: 12.18 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.3863, allocations: 48.72 kB / 1.367 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.3866, allocations: 159.5 kB / 1.367 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003906/0.387, allocations: 199.2 kB / 1.367 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.927e-05/0.3871, allocations: 16 kB / 1.367 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001257/0.3884, allocations: 0.6745 MB / 1.368 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001241/0.3885, allocations: 75.66 kB / 1.368 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.3887, allocations: 159.2 kB / 1.368 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009405/0.3897, allocations: 0.6427 MB / 1.369 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3897, allocations: 7.938 kB / 1.369 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3897, allocations: 0 / 1.369 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.3897, allocations: 0 / 1.369 GB, free: 10.21 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001636/0.3914, allocations: 0.7415 MB / 1.37 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3914, allocations: 15.98 kB / 1.37 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.3929, allocations: 160.4 kB / 1.37 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005218/0.3935, allocations: 306.2 kB / 1.37 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.582e-05/0.3935, allocations: 49.64 kB / 1.37 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.3936, allocations: 20 kB / 1.37 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004143/0.394, allocations: 201.6 kB / 1.37 GB, free: 8.613 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.394, allocations: 4 kB / 1.37 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.3941, allocations: 8 kB / 1.37 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3941, allocations: 0 / 1.37 GB, free: 8.602 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.3944, allocations: 128 kB / 1.37 GB, free: 8.477 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002522/0.3969, allocations: 0.9924 MB / 1.371 GB, free: 7.426 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.3977, allocations: 166.5 kB / 1.372 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.3979, allocations: 92.83 kB / 1.372 GB, free: 7.16 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.398, allocations: 4.062 kB / 1.372 GB, free: 7.156 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.3984, allocations: 205.7 kB / 1.372 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.084e-06/0.3984, allocations: 0 / 1.372 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0039/0.4023, allocations: 0.8567 MB / 1.373 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.4024, allocations: 89.11 kB / 1.373 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.4028, allocations: 336.5 kB / 1.373 GB, free: 5.605 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.665e-05/0.4028, allocations: 29.7 kB / 1.373 GB, free: 5.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001269/0.403, allocations: 156.5 kB / 1.373 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.403, allocations: 51.27 kB / 1.373 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.4032, allocations: 89.92 kB / 1.373 GB, free: 5.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.4033, allocations: 342.8 kB / 1.374 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.4037, allocations: 144.5 kB / 1.374 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.4041, allocations: 211.4 kB / 1.374 GB, free: 4.566 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006241/0.4047, allocations: 352.6 kB / 1.374 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4048, allocations: 0 / 1.374 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003526/0.4083, allocations: 0.8562 MB / 1.375 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.4083, allocations: 37.69 kB / 1.375 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.4084, allocations: 0 / 1.375 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008877/0.4093, allocations: 201.5 kB / 1.375 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.4095, allocations: 43.91 kB / 1.376 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.4123, allocations: 2.23 MB / 1.378 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004635/0.4128, allocations: 47.64 kB / 1.378 GB, free: 0.5977 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.4129, allocations: 23.92 kB / 1.378 GB, free: 0.5742 MB / 0.8698 GB Warning: Assuming fixed start value for the following 1 variables: eva.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.eva.off,eva.off,$whenCondition2,mAir_flow.nextEventScaled,mAir_flow.nextEvent,$PRE.mAir_flow.nextEvent,mAir_flow.last,mAir_flow.b,mAir_flow.a,$whenCondition1,int.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {7} * Without analytic Jacobian (size): 0 systems 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): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002494/0.4131, allocations: 188.3 kB / 1.378 GB, free: 384 kB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.6e-05/0.4132, allocations: 27.62 kB / 1.378 GB, free: 356 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.4133, allocations: 31.17 kB / 1.378 GB, free: 324 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.4133, allocations: 8 kB / 1.378 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.4133, allocations: 0 / 1.378 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4133, allocations: 0 / 1.378 GB, free: 316 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.4165, allocations: 1.04 MB / 1.379 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4165, allocations: 4 kB / 1.379 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.603e-05/0.4165, allocations: 8 kB / 1.379 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/0.4169, allocations: 120.8 kB / 1.379 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.4169, allocations: 11.98 kB / 1.379 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008691/0.4178, allocations: 0.7458 MB / 1.38 GB, free: 14.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4178, allocations: 4 kB / 1.38 GB, free: 14.29 MB / 0.8855 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.01939/0.4372, allocations: 6.098 MB / 1.386 GB, free: 7.984 MB / 0.8855 GB Error: post-optimization module symbolicJacobian (simulation) failed.