Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal.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.BaseClasses.Examples.EvaporationFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.666/1.666, allocations: 292.3 MB / 308.1 MB, free: 4.336 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.001214/0.001214, allocations: 187.9 kB / 376.9 MB, free: 1.832 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.523/1.523, allocations: 205.1 MB / 0.6354 GB, free: 9.82 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.001091/0.001091, allocations: 104.7 kB / 0.748 GB, free: 61.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 63.89 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2366, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationFlowReversal): time 0.004065/0.2407, allocations: 2.455 MB / 0.9846 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.6614/0.9022, allocations: 148.7 MB / 1.13 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.9024, allocations: 3.938 kB / 1.13 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003512/0.9028, allocations: 83.47 kB / 1.13 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005171/0.9033, allocations: 204.9 kB / 1.13 GB, free: 8.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.9046, allocations: 0.5771 MB / 1.131 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003399/0.9049, allocations: 415.7 kB / 1.131 GB, free: 7.605 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.905, allocations: 47.14 kB / 1.131 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.9052, allocations: 167.9 kB / 1.131 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.9055, allocations: 192.9 kB / 1.131 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.824e-05/0.9055, allocations: 15.81 kB / 1.131 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009869/0.9065, allocations: 0.6713 MB / 1.132 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.9066, allocations: 75.25 kB / 1.132 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.9068, allocations: 147.2 kB / 1.132 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006871/0.9075, allocations: 0.6559 MB / 1.133 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.9075, allocations: 0 / 1.133 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.72e-07/0.9075, allocations: 0 / 1.133 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.9075, allocations: 0 / 1.133 GB, free: 6.902 MB / 0.7448 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.001299/0.9088, allocations: 0.7434 MB / 1.134 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.9088, allocations: 9.844 kB / 1.134 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.9103, allocations: 151.7 kB / 1.134 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.9107, allocations: 322.7 kB / 1.134 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.174e-05/0.9108, allocations: 46.2 kB / 1.134 GB, free: 6 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.9109, allocations: 16.09 kB / 1.134 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003739/0.9112, allocations: 213.4 kB / 1.134 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.9113, allocations: 0 / 1.134 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.9113, allocations: 7.031 kB / 1.134 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.9113, allocations: 3.156 kB / 1.134 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.9116, allocations: 114.9 kB / 1.135 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002198/0.9138, allocations: 1.005 MB / 1.136 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007348/0.9145, allocations: 165.8 kB / 1.136 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.9147, allocations: 92.34 kB / 1.136 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.9147, allocations: 11.03 kB / 1.136 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.9151, allocations: 184.5 kB / 1.136 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.9151, allocations: 0 / 1.136 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.00369/0.9188, allocations: 0.8571 MB / 1.137 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.9189, allocations: 83.95 kB / 1.137 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.9192, allocations: 335.2 kB / 1.137 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.9193, allocations: 36.45 kB / 1.137 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.9194, allocations: 152.8 kB / 1.137 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.9194, allocations: 56.44 kB / 1.137 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.9196, allocations: 87.08 kB / 1.138 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.267e-05/0.9196, allocations: 350.7 kB / 1.138 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002932/0.9199, allocations: 132.9 kB / 1.138 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003479/0.9203, allocations: 227.2 kB / 1.138 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.9208, allocations: 332.2 kB / 1.139 GB, free: 3.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.9208, allocations: 4 kB / 1.139 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003288/0.9241, allocations: 0.8501 MB / 1.139 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.007e-05/0.9242, allocations: 42.14 kB / 1.139 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.9242, allocations: 0.9375 kB / 1.139 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008591/0.925, allocations: 192.7 kB / 1.14 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.9253, allocations: 49.88 kB / 1.14 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.9276, allocations: 2.24 MB / 1.142 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/0.928, allocations: 41.84 kB / 1.142 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.9281, allocations: 19.81 kB / 1.142 GB, free: 0.9805 MB / 0.7448 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.0001939/0.9283, allocations: 204.1 kB / 1.142 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.039e-05/0.9283, allocations: 27.62 kB / 1.142 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.185e-05/0.9284, allocations: 25.22 kB / 1.142 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.9284, allocations: 3.062 kB / 1.142 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.9284, allocations: 0 / 1.142 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.9284, allocations: 0 / 1.142 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.9312, allocations: 1.047 MB / 1.143 GB, free: 252 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.9312, allocations: 0 / 1.143 GB, free: 252 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.9313, allocations: 11.41 kB / 1.143 GB, free: 248 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002678/0.9316, allocations: 107.9 kB / 1.143 GB, free: 212 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.9316, allocations: 11.3 kB / 1.143 GB, free: 208 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008075/0.9324, allocations: 0.7526 MB / 1.144 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.9324, allocations: 1.016 kB / 1.144 GB, free: 15.55 MB / 0.7605 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.01894/0.9514, allocations: 6.093 MB / 1.15 GB, free: 12.55 MB / 0.7605 GB Error: post-optimization module symbolicJacobian (simulation) failed.