Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damValFan.VPri_flow|damValFan.VActCooMax_flow|damValFan.VActMin_flow|damValFan.VPri_flow_Set|damValFan.uCoo|damValFan.uHea|damValFan.TSup|damValFan.TZon|damValFan.TSupSet|damValFan.THeaSet|damValFan.TDis|damValFan.uOpeMod|damValFan.yDam|damValFan.yVal|damValFan.THeaDisSet|damValFan.y1Fan|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VPri_flow_Set|damValFan1.uCoo|damValFan1.uHea|damValFan1.TSup|damValFan1.TZon|damValFan1.TSupSet|damValFan1.THeaSet|damValFan1.TDis|damValFan1.uOpeMod|damValFan1.yDam|damValFan1.yVal|damValFan1.THeaDisSet|damValFan1.y1Fan|damValFan1.oveFloSet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves") translateModel(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damValFan.VPri_flow|damValFan.VActCooMax_flow|damValFan.VActMin_flow|damValFan.VPri_flow_Set|damValFan.uCoo|damValFan.uHea|damValFan.TSup|damValFan.TZon|damValFan.TSupSet|damValFan.THeaSet|damValFan.TDis|damValFan.uOpeMod|damValFan.yDam|damValFan.yVal|damValFan.THeaDisSet|damValFan.y1Fan|damValFan1.VPri_flow|damValFan1.VActCooMax_flow|damValFan1.VActMin_flow|damValFan1.VPri_flow_Set|damValFan1.uCoo|damValFan1.uHea|damValFan1.TSup|damValFan1.TZon|damValFan1.TSupSet|damValFan1.THeaSet|damValFan1.TDis|damValFan1.uOpeMod|damValFan1.yDam|damValFan1.yVal|damValFan1.THeaDisSet|damValFan1.y1Fan|damValFan1.oveFloSet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 109.3 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 187.2 kB / 17.35 MB, free: 5.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.16/1.16, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.925/1.925, allocations: 390.2 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.088e-05/1.089e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.TerminalUnits.SeriesFanCVF.Subsequences.Validation.DamperValves): time 0.006574/0.006594, allocations: 6.594 MB / 0.9579 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004691/0.0113, allocations: 3.436 MB / 0.9613 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006239/0.01193, allocations: 51.81 kB / 0.9613 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000571/0.01251, allocations: 308.5 kB / 0.9616 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0005429/0.01306, allocations: 297.1 kB / 0.9619 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.01449, allocations: 1.021 MB / 0.9629 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.01657, allocations: 2.893 MB / 0.9657 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.0181, allocations: 1.435 MB / 0.9671 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008064/0.01891, allocations: 0.9536 MB / 0.9681 GB, free: 6.547 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007089/0.01963, allocations: 1.003 MB / 0.9691 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002781/0.01992, allocations: 296 kB / 0.9693 GB, free: 5.25 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.02022, allocations: 312 kB / 0.9696 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of combineBinaries: time 0.001797/0.02202, allocations: 3.397 MB / 0.973 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of replaceArrayConstructors: time 0.0009684/0.023, allocations: 2.112 MB / 0.975 GB, free: 15.36 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0003053/0.02331, allocations: 370.7 kB / 0.9754 GB, free: 15 MB / 0.7637 GB Notification: Performance of FrontEnd: time 0.0003093/0.02362, allocations: 150.4 kB / 0.9755 GB, free: 14.85 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 (481) * Number of variables: 481 (481) Notification: Performance of Bindings: time 0.007573/0.0312, allocations: 10.02 MB / 0.9853 GB, free: 4.535 MB / 0.7637 GB Notification: Performance of FunctionAlias: time 0.001021/0.03223, allocations: 1.382 MB / 0.9867 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of Early Inline: time 0.005528/0.03777, allocations: 6.814 MB / 0.9933 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simplify1: time 0.0003317/0.03811, allocations: 403.4 kB / 0.9937 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of Alias: time 0.01265/0.05077, allocations: 13.08 MB / 1.006 GB, free: 13.49 MB / 0.795 GB Notification: Performance of simplify2: time 0.0002395/0.05103, allocations: 243.6 kB / 1.007 GB, free: 13.25 MB / 0.795 GB Notification: Performance of Detect States: time 0.001119/0.05216, allocations: 1.427 MB / 1.008 GB, free: 11.8 MB / 0.795 GB Notification: Performance of Events: time 0.001512/0.05368, allocations: 1.369 MB / 1.009 GB, free: 10.38 MB / 0.795 GB Notification: Performance of Partitioning: time 0.00139/0.05508, allocations: 1.492 MB / 1.011 GB, free: 8.793 MB / 0.795 GB Notification: Performance of Causalize: time 0.006013/0.0611, allocations: 5.9 MB / 1.017 GB, free: 2.754 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.003494/0.0646, allocations: 4.091 MB / 1.021 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of Inline: time 0.00721/0.07183, allocations: 8.353 MB / 1.029 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of Partitioning: time 0.0004185/0.07225, allocations: 417.2 kB / 1.029 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of Cleanup: time 0.0006592/0.07292, allocations: 0.8066 MB / 1.03 GB, free: 4.898 MB / 0.8106 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) not $TEV_12 = damValFan1.edg.pre_u_start ($RES_SIM_7) slice: {}; [SCAL] (1) not $TEV_24 = damValFan.edg.pre_u_start ($RES_SIM_25) slice: {}; [SCAL] (1) $TEV_28 = false ($RES_SIM_27) slice: {}; [SCAL] (1) $SEV_3 = damValFan1.tim.t <= 0.0 ($RES_EVT_576) slice: {}; Notification: Performance of Causalize: time 0.03649/0.1094, allocations: 34.34 MB / 1.064 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of Tearing: time 4.411e-05/0.1095, allocations: 0 / 1.064 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of Initialization: time 9.32e-07/0.1095, allocations: 4 kB / 1.064 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of Tearing: time 1.778e-05/0.1095, allocations: 7.938 kB / 1.064 GB, free: 1.945 MB / 0.8419 GB Notification: Performance of Categorize: time 3.188e-05/0.1096, allocations: 8 kB / 1.064 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of Solve: time 0.002021/0.1116, allocations: 1.169 MB / 1.065 GB, free: 0.7461 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.001692/0.1133, allocations: 1.803 MB / 1.066 GB, free: 14.9 MB / 0.8575 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 9 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 3 (3) {damValFan.conVal.addPID.u2, damValFan1.conVal.addPID.u2, damValFan1.conDam.addPID.u2} * Number of discrete states: .................... 9 (9) {damValFan.u1Fan, damValFan1.lat1.y, damValFan1.tim.passed, damValFan1.tim.entryTime, damValFan1.lat.y, damValFan.lat1.y, damValFan.tim.entryTime, damValFan.tim.passed, damValFan.lat.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 131 (131) {damValFan.and4.u1, damValFan.and4.u2, damValFan.and4.y, damValFan.conVal.trigger, damValFan.isUno.u2, damValFan.not1.y, damValFan.isOcc.y, damValFan.edg.y, damValFan.and2.u1, damValFan.and2.y, damValFan.falEdg.y, damValFan.falEdg.not_u, damValFan.forZerFlo.u1, damValFan.zerFlo.u, damValFan.cooMax.u, damValFan.minFlo.u, damValFan.or1.y, damValFan1.and4.u1, damValFan1.and4.u2, damValFan1.and4.y, damValFan1.conVal.trigger, damValFan1.swi2.u2, damValFan1.isOcc.y, damValFan1.edg.y, damValFan1.and2.u1, damValFan1.and2.y, damValFan1.falEdg.y, damValFan1.falEdg.not_u, damValFan1.zerFlo.u, damValFan1.cooMax.u, damValFan1.minFlo.u, damValFan1.or1.y, $SEV_61, $SEV_60, $SEV_59, $SEV_58, $SEV_57, $SEV_56, $SEV_55, $SEV_54, $SEV_53, $SEV_52, $SEV_51, $SEV_50, $SEV_49, $SEV_48, $SEV_47, $SEV_46, $SEV_45, $SEV_44, $SEV_43, $SEV_42, $SEV_41, $SEV_40, $SEV_39, $SEV_38, $SEV_37, $SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $TEV_51, $TEV_50, $TEV_49, $TEV_48, $TEV_47, $TEV_46, $TEV_45, $TEV_44, $TEV_43, $TEV_42, $TEV_41, $TEV_40, $TEV_39, $TEV_38, $TEV_37, $TEV_36, $TEV_35, $TEV_34, $TEV_33, $TEV_32, $TEV_31, $TEV_30, $TEV_29, $TEV_28, $TEV_27, $TEV_26, $TEV_25, $TEV_24, $TEV_23, $TEV_22, $TEV_21, $TEV_20, $TEV_19, $TEV_18, $TEV_17, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 243 (scalar:243, array:0, record:0) * Number of multi strong components: ............ 9 (algorithm:0, when:9, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 429 (scalar:429, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:5, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 429 (scalar:429, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:5, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001575/0.1134, allocations: 184.1 kB / 1.067 GB, free: 14.72 MB / 0.8575 GB Error: Internal error NBEquation.WhenEquationBody.getBodyAttributes.getConditions failed for condition: not damValFan.u1Fan